<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>dom4j - 1.6.1</title>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../style.css" TITLE="Style">
</head>
<body>
<TABLE cellspacing="0" cellpadding="2"><TBODY>
    <!-- C:\ Projects\ dom4j_1.x_branch\ dom4j\ src\ java\ org\ dom4j\ tree\ AbstractElement.java -->
  <TR>
    <TD colspan="6" class="reportHeader">
    <TABLE width="100%"><TR>
    <TD valign="top" class="titleText">Clover coverage report -   dom4j - 1.6.1 <DIV class="timestamp"><b>Coverage timestamp:</b>&nbsp;ma mei 16 2005 14:23:01 GMT+01:00</DIV>
            <DIV class="navBar"><a href="../../../pkgs-summary.html"><b>Overview</b></a>&nbsp;&nbsp;&nbsp;<a href="pkg-summary.html"><b>Package</b></a>&nbsp;&nbsp;&nbsp;<font class="navBarCurrent">File</font></DIV>
    
<DIV class="navBarLink">
&nbsp;&nbsp;&nbsp;
    <A HREF="../../../index.html" TARGET="_top">FRAMES</A>&nbsp;&nbsp;
<A HREF="AbstractElement.html" TARGET="_top">NO FRAMES</A>&nbsp;&nbsp;
    </DIV>

</TD>
         <td class="headerStats" valign="top" width="40%" align="right">
        <table align="right">
         <tr>
           <td nowrap><b>file stats:</b></td>
           <td align="right"><b>LOC:</b></td>
           <td align="right">1.684</td>
           <td width="10%">&nbsp;</td>
           <td align="right"><b>Methods:</b></td>
           <td align="right">115</td>
         </tr>
         <tr>
           <td></td>
           <td align="right"><b>NCLOC:</b></td>
           <td align="right">1.027</td>
           <td width="10%">&nbsp;</td>
           <td align="right"><b>Classes:</b></td>
           <td align="right">1</td>
         </tr>
      </table>
     </td>
    </TR></TABLE>
   </TD>
  </TR>

<TR><TD class="hbreak" colspan="6">&nbsp;</TD></TR>
  <TR>
    <TD class="graphHeaderLeft"><b>&nbsp;Source file</b></TD>
    <TD class="graphHeader">Conditionals</TD>
    <TD class="graphHeader">Statements</TD>
    <TD class="graphHeader">Methods</TD>
    <TD class="graphHeader" align="left" colspan="2"><B>TOTAL</B></TD>
  </TR>   
  <TR>
    <TD class="graphItem">
        	   AbstractElement.java
	    </TD>
   
    <TD class="graphPercent" align="center">38,2%</TD>
    <TD class="graphPercent" align="center">48,1%</TD>
    <TD class="graphPercent" align="center">53%</TD>
    <TD class="graphBarLeft" align="center"><B>45,9%</B></TD>
    <TD class="graphBar">
            <TABLE class="barGraph" cellspacing="0">
        <TBODY>
          <TR>
	               <TD class="covered"><img alt="coverage" src="../../../img/trans.gif"
                   width="91" height="12"></TD>
            <TD class="uncovered"><img alt="coverage" src="../../../img/trans.gif"
                   width="109" height="12"></TD>
	   	  </TR>
	</TBODY>
      </TABLE>
          </TD>
  </TR> 
</TBODY></TABLE><TABLE cellspacing="0" cellpadding="0" class="srcView"><TBODY>
<TR><TD align="right" class="lineCount">
&nbsp;1</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">/*</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;2</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment"> * Copyright 2001-2005 (C) MetaStuff, Ltd. All Rights Reserved.</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;3</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment"> *</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;4</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment"> * This software is open source.</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;5</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment"> * See the bottom of this file for the licence.</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;6</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment"> */</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;7</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;8</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="keyword">package</span> org.dom4j.tree;</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;9</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;10</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="keyword">import</span> java.io.IOException;</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;11</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="keyword">import</span> java.io.StringWriter;</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;12</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="keyword">import</span> java.io.Writer;</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;13</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="keyword">import</span> java.util.ArrayList;</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;14</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="keyword">import</span> java.util.Collections;</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;15</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="keyword">import</span> java.util.Iterator;</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;16</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="keyword">import</span> java.util.List;</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;17</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="keyword">import</span> java.util.Map;</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;18</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;19</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="keyword">import</span> org.dom4j.Attribute;</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;20</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="keyword">import</span> org.dom4j.CDATA;</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;21</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="keyword">import</span> org.dom4j.CharacterData;</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;22</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="keyword">import</span> org.dom4j.Comment;</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;23</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="keyword">import</span> org.dom4j.Document;</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;24</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="keyword">import</span> org.dom4j.DocumentFactory;</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;25</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="keyword">import</span> org.dom4j.Element;</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;26</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="keyword">import</span> org.dom4j.Entity;</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;27</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="keyword">import</span> org.dom4j.IllegalAddException;</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;28</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="keyword">import</span> org.dom4j.Namespace;</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;29</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="keyword">import</span> org.dom4j.Node;</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;30</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="keyword">import</span> org.dom4j.ProcessingInstruction;</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;31</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="keyword">import</span> org.dom4j.QName;</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;32</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="keyword">import</span> org.dom4j.Text;</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;33</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="keyword">import</span> org.dom4j.Visitor;</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;34</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="keyword">import</span> org.dom4j.io.OutputFormat;</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;35</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="keyword">import</span> org.dom4j.io.XMLWriter;</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;36</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;37</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="keyword">import</span> org.xml.sax.Attributes;</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;38</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;39</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">/**</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;40</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment"> * &lt;p&gt;</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;41</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment"> * &lt;code&gt;AbstractElement&lt;/code&gt; is an abstract base class for tree</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;42</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment"> * implementors to use for implementation inheritence.</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;43</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment"> * &lt;/p&gt;</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;44</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment"> * </span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;45</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment"> * <span class="javadoc">@author</span> &lt;a href="mailto:jstrachan@apache.org"&gt;James Strachan &lt;/a&gt;</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;46</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment"> * <span class="javadoc">@version</span> $Revision: 1.80 $</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;47</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment"> */</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
<A name="AbstractElement">&nbsp;48</A></TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="keyword">public</span> abstract <span class="keyword">class</span> AbstractElement <span class="keyword">extends</span> AbstractBranch <span class="keyword">implements</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;49</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">        org.dom4j.Element {</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;50</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    <span class="comment">/** The &lt;code&gt;DocumentFactory&lt;/code&gt; instance used by default */</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;51</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    <span class="keyword">private</span> <span class="keyword">static</span> final DocumentFactory DOCUMENT_FACTORY = DocumentFactory</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;52</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">            .getInstance();</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;53</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;54</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    <span class="keyword">protected</span> <span class="keyword">static</span> final List EMPTY_LIST = Collections.EMPTY_LIST;</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;55</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;56</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    <span class="keyword">protected</span> <span class="keyword">static</span> final Iterator EMPTY_ITERATOR = EMPTY_LIST.iterator();</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;57</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;58</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    <span class="keyword">protected</span> <span class="keyword">static</span> final <span class="keyword">boolean</span> VERBOSE_TOSTRING = <span class="keyword">false</span>;</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;59</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;60</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    <span class="keyword">protected</span> <span class="keyword">static</span> final <span class="keyword">boolean</span> USE_STRINGVALUE_SEPARATOR = <span class="keyword">false</span>;</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;61</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;62</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 62: method entered 96009 times.">&nbsp;96009</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 62: method entered 96009 times.">    <span class="keyword">public</span> AbstractElement() {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;63</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;64</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;65</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 65: method entered 105403 times.">&nbsp;105403</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 65: method entered 105403 times.">    <span class="keyword">public</span> <span class="keyword">short</span> getNodeType() {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;66</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 66: statement executed 105403 times.">&nbsp;105403</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 66: statement executed 105403 times.">        <span class="keyword">return</span> ELEMENT_NODE;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;67</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;68</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;69</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 69: method not entered.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 69: method not entered.">    <span class="keyword">public</span> <span class="keyword">boolean</span> isRootElement() {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;70</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 70: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 70: statement not executed.">        Document document = getDocument();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;71</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;72</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 72: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 72: statement not executed.">        <span class="keyword">if</span> (document != <span class="keyword">null</span>) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;73</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 73: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 73: statement not executed.">            Element root = document.getRootElement();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;74</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;75</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 75: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 75: statement not executed.">            <span class="keyword">if</span> (root == <span class="keyword">this</span>) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;76</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 76: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 76: statement not executed.">                <span class="keyword">return</span> <span class="keyword">true</span>;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;77</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">            }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;78</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">        }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;79</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;80</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 80: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 80: statement not executed.">        <span class="keyword">return</span> <span class="keyword">false</span>;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;81</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;82</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;83</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 83: method entered 1 time.">&nbsp;1</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 83: method entered 1 time.">    <span class="keyword">public</span> <span class="keyword">void</span> setName(String name) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;84</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 84: statement executed 1 time.">&nbsp;1</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 84: statement executed 1 time.">        setQName(getDocumentFactory().createQName(name));</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;85</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;86</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;87</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 87: method not entered.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 87: method not entered.">    <span class="keyword">public</span> <span class="keyword">void</span> setNamespace(Namespace namespace) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;88</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 88: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 88: statement not executed.">        setQName(getDocumentFactory().createQName(getName(), namespace));</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;89</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;90</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;91</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    <span class="comment">/**</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;92</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     * Returns the XPath expression to match this Elements name which is</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;93</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     * getQualifiedName() if there is a namespace prefix defined or if no</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;94</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     * namespace is present then it is getName() or if a namespace is defined</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;95</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     * with no prefix then the expression is [name()='X'] where X = getName().</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;96</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     * </span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;97</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     * <span class="javadoc">@return</span> DOCUMENT ME!</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;98</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     */</span></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;99</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 99: method entered 66 times.">&nbsp;66</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 99: method entered 66 times.">    <span class="keyword">public</span> String getXPathNameStep() {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;100</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 100: statement executed 66 times.">&nbsp;66</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 100: statement executed 66 times.">        String uri = getNamespaceURI();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;101</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;102</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 102: statement executed 66 times.">&nbsp;66</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 102: statement executed 66 times.">        <span class="keyword">if</span> ((uri == <span class="keyword">null</span>) || (uri.length() == 0)) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;103</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 103: statement executed 56 times.">&nbsp;56</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 103: statement executed 56 times.">            <span class="keyword">return</span> getName();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;104</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">        }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;105</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;106</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 106: statement executed 10 times.">&nbsp;10</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 106: statement executed 10 times.">        String prefix = getNamespacePrefix();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;107</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;108</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 108: statement executed 10 times.">&nbsp;10</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 108: statement executed 10 times.">        <span class="keyword">if</span> ((prefix == <span class="keyword">null</span>) || (prefix.length() == 0)) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;109</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 109: statement executed 8 times.">&nbsp;8</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 109: statement executed 8 times.">            <span class="keyword">return</span> <span class="string">"*[name()='"</span> + getName() + <span class="string">"']"</span>;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;110</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">        }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;111</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;112</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 112: statement executed 2 times.">&nbsp;2</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 112: statement executed 2 times.">        <span class="keyword">return</span> getQualifiedName();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;113</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;114</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;115</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 115: method entered 31 times.">&nbsp;31</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 115: method entered 31 times.">    <span class="keyword">public</span> String getPath(Element context) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;116</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 116: statement executed 31 times.">&nbsp;31</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 116: statement executed 31 times.">        <span class="keyword">if</span> (<span class="keyword">this</span> == context) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;117</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 117: statement executed 1 time.">&nbsp;1</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 117: statement executed 1 time.">            <span class="keyword">return</span> <span class="string">"."</span>;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;118</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">        }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;119</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;120</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 120: statement executed 30 times.">&nbsp;30</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 120: statement executed 30 times.">        Element parent = getParent();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;121</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;122</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 122: statement executed 30 times.">&nbsp;30</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 122: statement executed 30 times.">        <span class="keyword">if</span> (parent == <span class="keyword">null</span>) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;123</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 123: statement executed 11 times.">&nbsp;11</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 123: statement executed 11 times.">            <span class="keyword">return</span> <span class="string">"/"</span> + getXPathNameStep();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;124</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 124: statement executed 19 times.">&nbsp;19</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 124: statement executed 19 times.">        } <span class="keyword">else</span> <span class="keyword">if</span> (parent == context) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;125</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 125: statement executed 7 times.">&nbsp;7</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 125: statement executed 7 times.">            <span class="keyword">return</span> getXPathNameStep();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;126</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">        }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;127</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;128</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 128: statement executed 12 times.">&nbsp;12</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 128: statement executed 12 times.">        <span class="keyword">return</span> parent.getPath(context) + <span class="string">"/"</span> + getXPathNameStep();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;129</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;130</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;131</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 131: method entered 36 times.">&nbsp;36</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 131: method entered 36 times.">    <span class="keyword">public</span> String getUniquePath(Element context) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;132</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 132: statement executed 36 times.">&nbsp;36</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 132: statement executed 36 times.">        Element parent = getParent();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;133</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;134</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 134: statement executed 36 times.">&nbsp;36</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 134: statement executed 36 times.">        <span class="keyword">if</span> (parent == <span class="keyword">null</span>) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;135</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 135: statement executed 13 times.">&nbsp;13</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 135: statement executed 13 times.">            <span class="keyword">return</span> <span class="string">"/"</span> + getXPathNameStep();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;136</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">        }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;137</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;138</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 138: statement executed 23 times.">&nbsp;23</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 138: statement executed 23 times.">        StringBuffer buffer = <span class="keyword">new</span> StringBuffer();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;139</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;140</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 140: statement executed 23 times.">&nbsp;23</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 140: statement executed 23 times.">        <span class="keyword">if</span> (parent != context) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;141</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 141: statement executed 16 times.">&nbsp;16</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 141: statement executed 16 times.">            buffer.append(parent.getUniquePath(context));</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;142</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;143</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 143: statement executed 16 times.">&nbsp;16</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 143: statement executed 16 times.">            buffer.append(<span class="string">"/"</span>);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;144</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">        }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;145</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;146</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 146: statement executed 23 times.">&nbsp;23</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 146: statement executed 23 times.">        buffer.append(getXPathNameStep());</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;147</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;148</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 148: statement executed 23 times.">&nbsp;23</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 148: statement executed 23 times.">        List mySiblings = parent.elements(getQName());</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;149</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;150</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 150: statement executed 23 times.">&nbsp;23</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 150: statement executed 23 times.">        <span class="keyword">if</span> (mySiblings.size() &gt; 1) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;151</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 151: statement executed 13 times.">&nbsp;13</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 151: statement executed 13 times.">            <span class="keyword">int</span> idx = mySiblings.indexOf(<span class="keyword">this</span>);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;152</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;153</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 153: expression evaluated to true 13 times, false 0 times.">&nbsp;13</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 153: expression evaluated to true 13 times, false 0 times.">            <span class="keyword">if</span> (idx &gt;= 0) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;154</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 154: statement executed 13 times.">&nbsp;13</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 154: statement executed 13 times.">                buffer.append(<span class="string">"["</span>);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;155</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;156</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 156: statement executed 13 times.">&nbsp;13</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 156: statement executed 13 times.">                buffer.append(Integer.toString(++idx));</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;157</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;158</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 158: statement executed 13 times.">&nbsp;13</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 158: statement executed 13 times.">                buffer.append(<span class="string">"]"</span>);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;159</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">            }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;160</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">        }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;161</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;162</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 162: statement executed 23 times.">&nbsp;23</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 162: statement executed 23 times.">        <span class="keyword">return</span> buffer.toString();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;163</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;164</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;165</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 165: method entered 2041 times.">&nbsp;2041</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 165: method entered 2041 times.">    <span class="keyword">public</span> String asXML() {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;166</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 166: statement executed 2041 times.">&nbsp;2041</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 166: statement executed 2041 times.">        <span class="keyword">try</span> {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;167</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 167: statement executed 2041 times.">&nbsp;2041</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 167: statement executed 2041 times.">            StringWriter out = <span class="keyword">new</span> StringWriter();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;168</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 168: statement executed 2041 times.">&nbsp;2041</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 168: statement executed 2041 times.">            XMLWriter writer = <span class="keyword">new</span> XMLWriter(out, <span class="keyword">new</span> OutputFormat());</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;169</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;170</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 170: statement executed 2041 times.">&nbsp;2041</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 170: statement executed 2041 times.">            writer.write(<span class="keyword">this</span>);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;171</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 171: statement executed 2041 times.">&nbsp;2041</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 171: statement executed 2041 times.">            writer.flush();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;172</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;173</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 173: statement executed 2041 times.">&nbsp;2041</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 173: statement executed 2041 times.">            <span class="keyword">return</span> out.toString();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;174</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">        } <span class="keyword">catch</span> (IOException e) {</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;175</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 175: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 175: statement not executed.">            <span class="keyword">throw</span> <span class="keyword">new</span> RuntimeException(<span class="string">"IOException while generating "</span></A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;176</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">                    + <span class="string">"textual representation: "</span> + e.getMessage());</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;177</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">        }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;178</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;179</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;180</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 180: method not entered.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 180: method not entered.">    <span class="keyword">public</span> <span class="keyword">void</span> write(Writer out) <span class="keyword">throws</span> IOException {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;181</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 181: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 181: statement not executed.">        XMLWriter writer = <span class="keyword">new</span> XMLWriter(out, <span class="keyword">new</span> OutputFormat());</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;182</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 182: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 182: statement not executed.">        writer.write(<span class="keyword">this</span>);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;183</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;184</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;185</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    <span class="comment">/**</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;186</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     * &lt;p&gt;</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;187</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     * &lt;code&gt;accept&lt;/code&gt; method is the &lt;code&gt;Visitor Pattern&lt;/code&gt;</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;188</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     * method.</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;189</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     * &lt;/p&gt;</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;190</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     * </span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;191</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     * <span class="javadoc">@param</span> visitor</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;192</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     *            &lt;code&gt;Visitor&lt;/code&gt; is the visitor.</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;193</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     */</span></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;194</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 194: method not entered.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 194: method not entered.">    <span class="keyword">public</span> <span class="keyword">void</span> accept(Visitor visitor) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;195</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 195: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 195: statement not executed.">        visitor.visit(<span class="keyword">this</span>);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;196</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;197</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">        <span class="comment">// visit attributes</span></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;198</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 198: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 198: statement not executed.">        <span class="keyword">for</span> (<span class="keyword">int</span> i = 0, size = attributeCount(); i &lt; size; i++) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;199</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 199: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 199: statement not executed.">            Attribute attribute = attribute(i);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;200</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;201</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 201: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 201: statement not executed.">            visitor.visit(attribute);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;202</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">        }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;203</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;204</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">        <span class="comment">// visit content</span></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;205</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 205: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 205: statement not executed.">        <span class="keyword">for</span> (<span class="keyword">int</span> i = 0, size = nodeCount(); i &lt; size; i++) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;206</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 206: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 206: statement not executed.">            Node node = node(i);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;207</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;208</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 208: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 208: statement not executed.">            node.accept(visitor);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;209</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">        }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;210</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;211</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;212</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 212: method entered 85700 times.">&nbsp;85700</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 212: method entered 85700 times.">    <span class="keyword">public</span> String toString() {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;213</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 213: statement executed 85700 times.">&nbsp;85700</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 213: statement executed 85700 times.">        String uri = getNamespaceURI();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;214</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;215</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 215: statement executed 85700 times.">&nbsp;85700</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 215: statement executed 85700 times.">        <span class="keyword">if</span> ((uri != <span class="keyword">null</span>) &amp;&amp; (uri.length() &gt; 0)) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;216</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 216: expression evaluated to true 0 times, false 2512 times.">&nbsp;2512</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 216: expression evaluated to true 0 times, false 2512 times.">            <span class="keyword">if</span> (VERBOSE_TOSTRING) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;217</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 217: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 217: statement not executed.">                <span class="keyword">return</span> <span class="keyword">super</span>.toString() + <span class="string">" [Element: &lt;"</span> + getQualifiedName()</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;218</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">                        + <span class="string">" uri: "</span> + uri + <span class="string">" attributes: "</span> + attributeList()</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;219</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">                        + <span class="string">" content: "</span> + contentList() + <span class="string">" /&gt;]"</span>;</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;220</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">            } <span class="keyword">else</span> {</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;221</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 221: statement executed 2512 times.">&nbsp;2512</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 221: statement executed 2512 times.">                <span class="keyword">return</span> <span class="keyword">super</span>.toString() + <span class="string">" [Element: &lt;"</span> + getQualifiedName()</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;222</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">                        + <span class="string">" uri: "</span> + uri + <span class="string">" attributes: "</span> + attributeList()</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;223</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">                        + <span class="string">"/&gt;]"</span>;</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;224</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">            }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;225</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">        } <span class="keyword">else</span> {</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;226</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 226: expression evaluated to true 0 times, false 83188 times.">&nbsp;83188</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 226: expression evaluated to true 0 times, false 83188 times.">            <span class="keyword">if</span> (VERBOSE_TOSTRING) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;227</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 227: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 227: statement not executed.">                <span class="keyword">return</span> <span class="keyword">super</span>.toString() + <span class="string">" [Element: &lt;"</span> + getQualifiedName()</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;228</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">                        + <span class="string">" attributes: "</span> + attributeList() + <span class="string">" content: "</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;229</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">                        + contentList() + <span class="string">" /&gt;]"</span>;</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;230</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">            } <span class="keyword">else</span> {</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;231</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 231: statement executed 83188 times.">&nbsp;83188</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 231: statement executed 83188 times.">                <span class="keyword">return</span> <span class="keyword">super</span>.toString() + <span class="string">" [Element: &lt;"</span> + getQualifiedName()</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;232</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">                        + <span class="string">" attributes: "</span> + attributeList() + <span class="string">"/&gt;]"</span>;</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;233</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">            }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;234</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">        }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;235</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;236</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;237</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    <span class="comment">// QName methods</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;238</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    <span class="comment">// -------------------------------------------------------------------------</span></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;239</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 239: method entered 120477 times.">&nbsp;120477</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 239: method entered 120477 times.">    <span class="keyword">public</span> Namespace getNamespace() {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;240</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 240: statement executed 120477 times.">&nbsp;120477</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 240: statement executed 120477 times.">        <span class="keyword">return</span> getQName().getNamespace();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;241</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;242</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;243</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 243: method entered 84347 times.">&nbsp;84347</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 243: method entered 84347 times.">    <span class="keyword">public</span> String getName() {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;244</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 244: statement executed 84347 times.">&nbsp;84347</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 244: statement executed 84347 times.">        <span class="keyword">return</span> getQName().getName();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;245</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;246</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;247</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 247: method entered 8774 times.">&nbsp;8774</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 247: method entered 8774 times.">    <span class="keyword">public</span> String getNamespacePrefix() {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;248</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 248: statement executed 8774 times.">&nbsp;8774</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 248: statement executed 8774 times.">        <span class="keyword">return</span> getQName().getNamespacePrefix();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;249</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;250</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;251</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 251: method entered 172894 times.">&nbsp;172894</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 251: method entered 172894 times.">    <span class="keyword">public</span> String getNamespaceURI() {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;252</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 252: statement executed 172894 times.">&nbsp;172894</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 252: statement executed 172894 times.">        <span class="keyword">return</span> getQName().getNamespaceURI();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;253</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;254</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;255</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 255: method entered 120578 times.">&nbsp;120578</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 255: method entered 120578 times.">    <span class="keyword">public</span> String getQualifiedName() {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;256</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 256: statement executed 120578 times.">&nbsp;120578</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 256: statement executed 120578 times.">        <span class="keyword">return</span> getQName().getQualifiedName();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;257</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;258</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;259</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 259: method not entered.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 259: method not entered.">    <span class="keyword">public</span> Object getData() {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;260</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 260: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 260: statement not executed.">        <span class="keyword">return</span> getText();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;261</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;262</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;263</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 263: method not entered.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 263: method not entered.">    <span class="keyword">public</span> <span class="keyword">void</span> setData(Object data) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;264</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">        <span class="comment">// ignore this method</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;265</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;266</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;267</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    <span class="comment">// Node methods</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;268</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    <span class="comment">// -------------------------------------------------------------------------</span></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;269</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 269: method not entered.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 269: method not entered.">    <span class="keyword">public</span> Node node(<span class="keyword">int</span> index) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;270</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 270: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 270: statement not executed.">        <span class="keyword">if</span> (index &gt;= 0) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;271</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 271: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 271: statement not executed.">            List list = contentList();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;272</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;273</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 273: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 273: statement not executed.">            <span class="keyword">if</span> (index &gt;= list.size()) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;274</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 274: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 274: statement not executed.">                <span class="keyword">return</span> <span class="keyword">null</span>;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;275</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">            }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;276</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;277</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 277: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 277: statement not executed.">            Object node = list.get(index);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;278</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;279</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 279: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 279: statement not executed.">            <span class="keyword">if</span> (node != <span class="keyword">null</span>) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;280</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 280: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 280: statement not executed.">                <span class="keyword">if</span> (node <span class="keyword">instanceof</span> Node) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;281</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 281: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 281: statement not executed.">                    <span class="keyword">return</span> (Node) node;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;282</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">                } <span class="keyword">else</span> {</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;283</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 283: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 283: statement not executed.">                    <span class="keyword">return</span> getDocumentFactory().createText(node.toString());</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;284</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">                }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;285</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">            }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;286</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">        }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;287</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;288</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 288: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 288: statement not executed.">        <span class="keyword">return</span> <span class="keyword">null</span>;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;289</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;290</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;291</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 291: method not entered.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 291: method not entered.">    <span class="keyword">public</span> <span class="keyword">int</span> indexOf(Node node) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;292</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 292: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 292: statement not executed.">        <span class="keyword">return</span> contentList().indexOf(node);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;293</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;294</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;295</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 295: method entered 1 time.">&nbsp;1</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 295: method entered 1 time.">    <span class="keyword">public</span> <span class="keyword">int</span> nodeCount() {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;296</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 296: statement executed 1 time.">&nbsp;1</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 296: statement executed 1 time.">        <span class="keyword">return</span> contentList().size();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;297</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;298</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;299</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 299: method not entered.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 299: method not entered.">    <span class="keyword">public</span> Iterator nodeIterator() {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;300</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 300: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 300: statement not executed.">        <span class="keyword">return</span> contentList().iterator();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;301</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;302</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;303</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    <span class="comment">// Element methods</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;304</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    <span class="comment">// -------------------------------------------------------------------------</span></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;305</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 305: method not entered.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 305: method not entered.">    <span class="keyword">public</span> Element element(String name) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;306</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 306: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 306: statement not executed.">        List list = contentList();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;307</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;308</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 308: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 308: statement not executed.">        <span class="keyword">int</span> size = list.size();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;309</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;310</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 310: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 310: statement not executed.">        <span class="keyword">for</span> (<span class="keyword">int</span> i = 0; i &lt; size; i++) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;311</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 311: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 311: statement not executed.">            Object object = list.get(i);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;312</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;313</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 313: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 313: statement not executed.">            <span class="keyword">if</span> (object <span class="keyword">instanceof</span> Element) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;314</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 314: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 314: statement not executed.">                Element element = (Element) object;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;315</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;316</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 316: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 316: statement not executed.">                <span class="keyword">if</span> (name.equals(element.getName())) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;317</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 317: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 317: statement not executed.">                    <span class="keyword">return</span> element;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;318</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">                }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;319</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">            }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;320</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">        }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;321</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;322</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 322: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 322: statement not executed.">        <span class="keyword">return</span> <span class="keyword">null</span>;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;323</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;324</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;325</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 325: method not entered.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 325: method not entered.">    <span class="keyword">public</span> Element element(QName qName) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;326</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 326: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 326: statement not executed.">        List list = contentList();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;327</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;328</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 328: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 328: statement not executed.">        <span class="keyword">int</span> size = list.size();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;329</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;330</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 330: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 330: statement not executed.">        <span class="keyword">for</span> (<span class="keyword">int</span> i = 0; i &lt; size; i++) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;331</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 331: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 331: statement not executed.">            Object object = list.get(i);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;332</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;333</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 333: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 333: statement not executed.">            <span class="keyword">if</span> (object <span class="keyword">instanceof</span> Element) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;334</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 334: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 334: statement not executed.">                Element element = (Element) object;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;335</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;336</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 336: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 336: statement not executed.">                <span class="keyword">if</span> (qName.equals(element.getQName())) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;337</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 337: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 337: statement not executed.">                    <span class="keyword">return</span> element;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;338</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">                }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;339</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">            }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;340</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">        }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;341</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;342</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 342: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 342: statement not executed.">        <span class="keyword">return</span> <span class="keyword">null</span>;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;343</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;344</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;345</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 345: method not entered.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 345: method not entered.">    <span class="keyword">public</span> Element element(String name, Namespace namespace) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;346</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 346: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 346: statement not executed.">        <span class="keyword">return</span> element(getDocumentFactory().createQName(name, namespace));</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;347</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;348</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;349</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 349: method entered 79 times.">&nbsp;79</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 349: method entered 79 times.">    <span class="keyword">public</span> List elements() {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;350</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 350: statement executed 79 times.">&nbsp;79</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 350: statement executed 79 times.">        List list = contentList();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;351</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;352</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 352: statement executed 79 times.">&nbsp;79</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 352: statement executed 79 times.">        BackedList answer = createResultList();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;353</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;354</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 354: statement executed 79 times.">&nbsp;79</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 354: statement executed 79 times.">        <span class="keyword">int</span> size = list.size();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;355</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;356</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 356: statement executed 79 times.">&nbsp;79</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 356: statement executed 79 times.">        <span class="keyword">for</span> (<span class="keyword">int</span> i = 0; i &lt; size; i++) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;357</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 357: statement executed 354 times.">&nbsp;354</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 357: statement executed 354 times.">            Object object = list.get(i);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;358</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;359</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 359: statement executed 354 times.">&nbsp;354</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 359: statement executed 354 times.">            <span class="keyword">if</span> (object <span class="keyword">instanceof</span> Element) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;360</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 360: statement executed 145 times.">&nbsp;145</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 360: statement executed 145 times.">                answer.addLocal(object);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;361</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">            }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;362</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">        }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;363</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;364</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 364: statement executed 79 times.">&nbsp;79</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 364: statement executed 79 times.">        <span class="keyword">return</span> answer;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;365</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;366</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;367</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 367: method entered 201 times.">&nbsp;201</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 367: method entered 201 times.">    <span class="keyword">public</span> List elements(String name) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;368</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 368: statement executed 201 times.">&nbsp;201</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 368: statement executed 201 times.">        List list = contentList();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;369</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;370</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 370: statement executed 201 times.">&nbsp;201</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 370: statement executed 201 times.">        BackedList answer = createResultList();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;371</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;372</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 372: statement executed 201 times.">&nbsp;201</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 372: statement executed 201 times.">        <span class="keyword">int</span> size = list.size();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;373</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;374</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 374: statement executed 201 times.">&nbsp;201</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 374: statement executed 201 times.">        <span class="keyword">for</span> (<span class="keyword">int</span> i = 0; i &lt; size; i++) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;375</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 375: statement executed 1975 times.">&nbsp;1975</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 375: statement executed 1975 times.">            Object object = list.get(i);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;376</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;377</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 377: statement executed 1975 times.">&nbsp;1975</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 377: statement executed 1975 times.">            <span class="keyword">if</span> (object <span class="keyword">instanceof</span> Element) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;378</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 378: statement executed 901 times.">&nbsp;901</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 378: statement executed 901 times.">                Element element = (Element) object;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;379</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;380</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 380: statement executed 901 times.">&nbsp;901</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 380: statement executed 901 times.">                <span class="keyword">if</span> (name.equals(element.getName())) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;381</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 381: statement executed 336 times.">&nbsp;336</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 381: statement executed 336 times.">                    answer.addLocal(element);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;382</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">                }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;383</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">            }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;384</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">        }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;385</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;386</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 386: statement executed 201 times.">&nbsp;201</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 386: statement executed 201 times.">        <span class="keyword">return</span> answer;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;387</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;388</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;389</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 389: method entered 13972 times.">&nbsp;13972</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 389: method entered 13972 times.">    <span class="keyword">public</span> List elements(QName qName) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;390</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 390: statement executed 13972 times.">&nbsp;13972</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 390: statement executed 13972 times.">        List list = contentList();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;391</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;392</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 392: statement executed 13972 times.">&nbsp;13972</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 392: statement executed 13972 times.">        BackedList answer = createResultList();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;393</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;394</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 394: statement executed 13972 times.">&nbsp;13972</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 394: statement executed 13972 times.">        <span class="keyword">int</span> size = list.size();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;395</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;396</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 396: statement executed 13972 times.">&nbsp;13972</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 396: statement executed 13972 times.">        <span class="keyword">for</span> (<span class="keyword">int</span> i = 0; i &lt; size; i++) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;397</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 397: statement executed 42383 times.">&nbsp;42383</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 397: statement executed 42383 times.">            Object object = list.get(i);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;398</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;399</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 399: statement executed 42383 times.">&nbsp;42383</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 399: statement executed 42383 times.">            <span class="keyword">if</span> (object <span class="keyword">instanceof</span> Element) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;400</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 400: statement executed 14661 times.">&nbsp;14661</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 400: statement executed 14661 times.">                Element element = (Element) object;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;401</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;402</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 402: statement executed 14661 times.">&nbsp;14661</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 402: statement executed 14661 times.">                <span class="keyword">if</span> (qName.equals(element.getQName())) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;403</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 403: statement executed 3653 times.">&nbsp;3653</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 403: statement executed 3653 times.">                    answer.addLocal(element);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;404</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">                }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;405</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">            }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;406</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">        }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;407</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;408</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 408: statement executed 13972 times.">&nbsp;13972</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 408: statement executed 13972 times.">        <span class="keyword">return</span> answer;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;409</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;410</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;411</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 411: method not entered.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 411: method not entered.">    <span class="keyword">public</span> List elements(String name, Namespace namespace) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;412</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 412: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 412: statement not executed.">        <span class="keyword">return</span> elements(getDocumentFactory().createQName(name, namespace));</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;413</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;414</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;415</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 415: method entered 59 times.">&nbsp;59</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 415: method entered 59 times.">    <span class="keyword">public</span> Iterator elementIterator() {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;416</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 416: statement executed 59 times.">&nbsp;59</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 416: statement executed 59 times.">        List list = elements();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;417</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;418</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 418: statement executed 59 times.">&nbsp;59</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 418: statement executed 59 times.">        <span class="keyword">return</span> list.iterator();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;419</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;420</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;421</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 421: method entered 191 times.">&nbsp;191</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 421: method entered 191 times.">    <span class="keyword">public</span> Iterator elementIterator(String name) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;422</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 422: statement executed 191 times.">&nbsp;191</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 422: statement executed 191 times.">        List list = elements(name);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;423</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;424</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 424: statement executed 191 times.">&nbsp;191</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 424: statement executed 191 times.">        <span class="keyword">return</span> list.iterator();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;425</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;426</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;427</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 427: method entered 13948 times.">&nbsp;13948</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 427: method entered 13948 times.">    <span class="keyword">public</span> Iterator elementIterator(QName qName) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;428</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 428: statement executed 13948 times.">&nbsp;13948</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 428: statement executed 13948 times.">        List list = elements(qName);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;429</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;430</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 430: statement executed 13948 times.">&nbsp;13948</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 430: statement executed 13948 times.">        <span class="keyword">return</span> list.iterator();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;431</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;432</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;433</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 433: method not entered.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 433: method not entered.">    <span class="keyword">public</span> Iterator elementIterator(String name, Namespace ns) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;434</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 434: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 434: statement not executed.">        <span class="keyword">return</span> elementIterator(getDocumentFactory().createQName(name, ns));</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;435</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;436</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;437</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    <span class="comment">// Attribute methods</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;438</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    <span class="comment">// -------------------------------------------------------------------------</span></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;439</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 439: method not entered.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 439: method not entered.">    <span class="keyword">public</span> List attributes() {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;440</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 440: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 440: statement not executed.">        <span class="keyword">return</span> <span class="keyword">new</span> ContentListFacade(<span class="keyword">this</span>, attributeList());</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;441</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;442</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;443</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 443: method not entered.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 443: method not entered.">    <span class="keyword">public</span> Iterator attributeIterator() {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;444</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 444: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 444: statement not executed.">        <span class="keyword">return</span> attributeList().iterator();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;445</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;446</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;447</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 447: method not entered.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 447: method not entered.">    <span class="keyword">public</span> Attribute attribute(<span class="keyword">int</span> index) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;448</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 448: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 448: statement not executed.">        <span class="keyword">return</span> (Attribute) attributeList().get(index);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;449</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;450</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;451</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 451: method entered 1 time.">&nbsp;1</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 451: method entered 1 time.">    <span class="keyword">public</span> <span class="keyword">int</span> attributeCount() {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;452</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 452: statement executed 1 time.">&nbsp;1</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 452: statement executed 1 time.">        <span class="keyword">return</span> attributeList().size();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;453</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;454</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;455</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 455: method not entered.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 455: method not entered.">    <span class="keyword">public</span> Attribute attribute(String name) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;456</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 456: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 456: statement not executed.">        List list = attributeList();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;457</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;458</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 458: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 458: statement not executed.">        <span class="keyword">int</span> size = list.size();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;459</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;460</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 460: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 460: statement not executed.">        <span class="keyword">for</span> (<span class="keyword">int</span> i = 0; i &lt; size; i++) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;461</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 461: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 461: statement not executed.">            Attribute attribute = (Attribute) list.get(i);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;462</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;463</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 463: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 463: statement not executed.">            <span class="keyword">if</span> (name.equals(attribute.getName())) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;464</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 464: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 464: statement not executed.">                <span class="keyword">return</span> attribute;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;465</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">            }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;466</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">        }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;467</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;468</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 468: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 468: statement not executed.">        <span class="keyword">return</span> <span class="keyword">null</span>;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;469</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;470</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;471</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 471: method not entered.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 471: method not entered.">    <span class="keyword">public</span> Attribute attribute(QName qName) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;472</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 472: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 472: statement not executed.">        List list = attributeList();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;473</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;474</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 474: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 474: statement not executed.">        <span class="keyword">int</span> size = list.size();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;475</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;476</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 476: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 476: statement not executed.">        <span class="keyword">for</span> (<span class="keyword">int</span> i = 0; i &lt; size; i++) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;477</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 477: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 477: statement not executed.">            Attribute attribute = (Attribute) list.get(i);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;478</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;479</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 479: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 479: statement not executed.">            <span class="keyword">if</span> (qName.equals(attribute.getQName())) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;480</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 480: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 480: statement not executed.">                <span class="keyword">return</span> attribute;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;481</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">            }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;482</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">        }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;483</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;484</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 484: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 484: statement not executed.">        <span class="keyword">return</span> <span class="keyword">null</span>;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;485</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;486</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;487</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 487: method not entered.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 487: method not entered.">    <span class="keyword">public</span> Attribute attribute(String name, Namespace namespace) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;488</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 488: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 488: statement not executed.">        <span class="keyword">return</span> attribute(getDocumentFactory().createQName(name, namespace));</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;489</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;490</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;491</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    <span class="comment">/**</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;492</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     * This method provides a more optimal way of setting all the attributes on</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;493</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     * an Element particularly for use in {@link org.dom4j.io.SAXReader}.</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;494</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     * </span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;495</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     * <span class="javadoc">@param</span> attributes</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;496</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     *            DOCUMENT ME!</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;497</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     * <span class="javadoc">@param</span> namespaceStack</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;498</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     *            DOCUMENT ME!</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;499</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     * <span class="javadoc">@param</span> noNamespaceAttributes</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;500</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     *            DOCUMENT ME!</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;501</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     */</span></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;502</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 502: method entered 86719 times.">&nbsp;86719</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 502: method entered 86719 times.">    <span class="keyword">public</span> <span class="keyword">void</span> setAttributes(Attributes attributes,</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;503</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">            NamespaceStack namespaceStack, <span class="keyword">boolean</span> noNamespaceAttributes) {</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;504</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">        <span class="comment">// now lets add all attribute values</span></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;505</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 505: statement executed 86719 times.">&nbsp;86719</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 505: statement executed 86719 times.">        <span class="keyword">int</span> size = attributes.getLength();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;506</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;507</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 507: statement executed 86719 times.">&nbsp;86719</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 507: statement executed 86719 times.">        <span class="keyword">if</span> (size &gt; 0) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;508</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 508: statement executed 7896 times.">&nbsp;7896</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 508: statement executed 7896 times.">            DocumentFactory factory = getDocumentFactory();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;509</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;510</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 510: statement executed 7896 times.">&nbsp;7896</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 510: statement executed 7896 times.">            <span class="keyword">if</span> (size == 1) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;511</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">                <span class="comment">// allow lazy construction of the List of Attributes</span></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;512</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 512: statement executed 6278 times.">&nbsp;6278</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 512: statement executed 6278 times.">                String name = attributes.getQName(0);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;513</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;514</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 514: statement executed 6278 times.">&nbsp;6278</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 514: statement executed 6278 times.">                <span class="keyword">if</span> (noNamespaceAttributes || !name.startsWith(<span class="string">"xmlns"</span>)) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;515</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 515: statement executed 6270 times.">&nbsp;6270</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 515: statement executed 6270 times.">                    String attributeURI = attributes.getURI(0);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;516</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;517</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 517: statement executed 6270 times.">&nbsp;6270</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 517: statement executed 6270 times.">                    String attributeLocalName = attributes.getLocalName(0);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;518</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;519</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 519: statement executed 6270 times.">&nbsp;6270</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 519: statement executed 6270 times.">                    String attributeValue = attributes.getValue(0);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;520</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;521</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 521: statement executed 6270 times.">&nbsp;6270</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 521: statement executed 6270 times.">                    QName attributeQName = namespaceStack.getAttributeQName(</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;522</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">                            attributeURI, attributeLocalName, name);</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;523</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;524</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 524: statement executed 6270 times.">&nbsp;6270</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 524: statement executed 6270 times.">                    add(factory.createAttribute(<span class="keyword">this</span>, attributeQName,</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;525</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">                            attributeValue));</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;526</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">                }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;527</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">            } <span class="keyword">else</span> {</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;528</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 528: statement executed 1618 times.">&nbsp;1618</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 528: statement executed 1618 times.">                List list = attributeList(size);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;529</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;530</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 530: statement executed 1618 times.">&nbsp;1618</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 530: statement executed 1618 times.">                list.clear();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;531</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;532</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 532: statement executed 1618 times.">&nbsp;1618</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 532: statement executed 1618 times.">                <span class="keyword">for</span> (<span class="keyword">int</span> i = 0; i &lt; size; i++) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;533</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">                    <span class="comment">// optimised to avoid the call to attribute(QName) to</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;534</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">                    <span class="comment">// lookup an attribute for a given QName</span></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;535</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 535: statement executed 4190 times.">&nbsp;4190</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 535: statement executed 4190 times.">                    String attributeName = attributes.getQName(i);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;536</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;537</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 537: statement executed 4190 times.">&nbsp;4190</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 537: statement executed 4190 times.">                    <span class="keyword">if</span> (noNamespaceAttributes</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;538</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">                            || !attributeName.startsWith(<span class="string">"xmlns"</span>)) {</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;539</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 539: statement executed 4185 times.">&nbsp;4185</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 539: statement executed 4185 times.">                        String attributeURI = attributes.getURI(i);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;540</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;541</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 541: statement executed 4185 times.">&nbsp;4185</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 541: statement executed 4185 times.">                        String attributeLocalName = attributes.getLocalName(i);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;542</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;543</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 543: statement executed 4185 times.">&nbsp;4185</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 543: statement executed 4185 times.">                        String attributeValue = attributes.getValue(i);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;544</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;545</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 545: statement executed 4185 times.">&nbsp;4185</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 545: statement executed 4185 times.">                        QName attributeQName = namespaceStack</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;546</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">                                .getAttributeQName(attributeURI,</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;547</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">                                        attributeLocalName, attributeName);</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;548</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;549</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 549: statement executed 4185 times.">&nbsp;4185</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 549: statement executed 4185 times.">                        Attribute attribute = factory.createAttribute(<span class="keyword">this</span>,</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;550</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">                                attributeQName, attributeValue);</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;551</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;552</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 552: statement executed 4185 times.">&nbsp;4185</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 552: statement executed 4185 times.">                        list.add(attribute);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;553</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;554</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 554: statement executed 4185 times.">&nbsp;4185</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 554: statement executed 4185 times.">                        childAdded(attribute);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;555</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">                    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;556</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">                }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;557</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">            }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;558</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">        }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;559</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;560</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;561</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 561: method entered 1984 times.">&nbsp;1984</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 561: method entered 1984 times.">    <span class="keyword">public</span> String attributeValue(String name) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;562</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 562: statement executed 1984 times.">&nbsp;1984</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 562: statement executed 1984 times.">        Attribute attrib = attribute(name);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;563</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;564</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 564: statement executed 1984 times.">&nbsp;1984</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 564: statement executed 1984 times.">        <span class="keyword">if</span> (attrib == <span class="keyword">null</span>) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;565</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 565: statement executed 586 times.">&nbsp;586</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 565: statement executed 586 times.">            <span class="keyword">return</span> <span class="keyword">null</span>;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;566</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">        } <span class="keyword">else</span> {</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;567</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 567: statement executed 1398 times.">&nbsp;1398</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 567: statement executed 1398 times.">            <span class="keyword">return</span> attrib.getValue();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;568</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">        }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;569</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;570</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;571</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 571: method entered 4 times.">&nbsp;4</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 571: method entered 4 times.">    <span class="keyword">public</span> String attributeValue(QName qName) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;572</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 572: statement executed 4 times.">&nbsp;4</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 572: statement executed 4 times.">        Attribute attrib = attribute(qName);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;573</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;574</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 574: statement executed 4 times.">&nbsp;4</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 574: statement executed 4 times.">        <span class="keyword">if</span> (attrib == <span class="keyword">null</span>) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;575</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 575: statement executed 2 times.">&nbsp;2</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 575: statement executed 2 times.">            <span class="keyword">return</span> <span class="keyword">null</span>;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;576</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">        } <span class="keyword">else</span> {</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;577</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 577: statement executed 2 times.">&nbsp;2</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 577: statement executed 2 times.">            <span class="keyword">return</span> attrib.getValue();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;578</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">        }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;579</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;580</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;581</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 581: method entered 7 times.">&nbsp;7</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 581: method entered 7 times.">    <span class="keyword">public</span> String attributeValue(String name, String defaultValue) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;582</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 582: statement executed 7 times.">&nbsp;7</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 582: statement executed 7 times.">        String answer = attributeValue(name);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;583</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;584</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 584: statement executed 7 times.">&nbsp;7</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 584: statement executed 7 times.">        <span class="keyword">return</span> (answer != <span class="keyword">null</span>) ? answer : defaultValue;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;585</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;586</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;587</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 587: method not entered.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 587: method not entered.">    <span class="keyword">public</span> String attributeValue(QName qName, String defaultValue) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;588</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 588: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 588: statement not executed.">        String answer = attributeValue(qName);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;589</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;590</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 590: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 590: statement not executed.">        <span class="keyword">return</span> (answer != <span class="keyword">null</span>) ? answer : defaultValue;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;591</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;592</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;593</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    <span class="comment">/**</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;594</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     * DOCUMENT ME!</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;595</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     * </span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;596</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     * <span class="javadoc">@param</span> name</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;597</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     *            DOCUMENT ME!</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;598</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     * <span class="javadoc">@param</span> value</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;599</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     *            DOCUMENT ME!</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;600</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     * </span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;601</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     * <span class="javadoc">@deprecated</span> As of version 0.5. Please use {@link</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;602</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     *             #addAttribute(String,String)} instead. WILL BE REMOVED IN</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;603</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     *             dom4j-1.6 !!</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;604</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     */</span></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;605</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 605: method not entered.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 605: method not entered.">    <span class="keyword">public</span> <span class="keyword">void</span> setAttributeValue(String name, String value) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;606</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 606: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 606: statement not executed.">        addAttribute(name, value);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;607</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;608</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;609</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    <span class="comment">/**</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;610</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     * DOCUMENT ME!</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;611</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     * </span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;612</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     * <span class="javadoc">@param</span> qName</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;613</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     *            DOCUMENT ME!</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;614</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     * <span class="javadoc">@param</span> value</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;615</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     *            DOCUMENT ME!</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;616</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     * </span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;617</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     * <span class="javadoc">@deprecated</span> As of version 0.5. Please use {@link</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;618</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     *             #addAttribute(String,String)} instead. WILL BE REMOVED IN</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;619</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     *             dom4j-1.6 !!</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;620</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     */</span></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;621</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 621: method not entered.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 621: method not entered.">    <span class="keyword">public</span> <span class="keyword">void</span> setAttributeValue(QName qName, String value) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;622</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 622: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 622: statement not executed.">        addAttribute(qName, value);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;623</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;624</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;625</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 625: method not entered.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 625: method not entered.">    <span class="keyword">public</span> <span class="keyword">void</span> add(Attribute attribute) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;626</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 626: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 626: statement not executed.">        <span class="keyword">if</span> (attribute.getParent() != <span class="keyword">null</span>) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;627</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 627: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 627: statement not executed.">            String message = <span class="string">"The Attribute already has an existing parent \""</span></A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;628</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">                    + attribute.getParent().getQualifiedName() + <span class="string">"\""</span>;</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;629</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;630</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 630: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 630: statement not executed.">            <span class="keyword">throw</span> <span class="keyword">new</span> IllegalAddException(<span class="keyword">this</span>, attribute, message);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;631</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">        }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;632</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;633</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 633: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 633: statement not executed.">        <span class="keyword">if</span> (attribute.getValue() == <span class="keyword">null</span>) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;634</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">            <span class="comment">// try remove a previous attribute with the same</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;635</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">            <span class="comment">// name since adding an attribute with a null value</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;636</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">            <span class="comment">// is equivalent to removing it.</span></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;637</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 637: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 637: statement not executed.">            Attribute oldAttribute = attribute(attribute.getQName());</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;638</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;639</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 639: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 639: statement not executed.">            <span class="keyword">if</span> (oldAttribute != <span class="keyword">null</span>) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;640</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 640: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 640: statement not executed.">                remove(oldAttribute);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;641</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">            }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;642</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">        } <span class="keyword">else</span> {</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;643</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 643: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 643: statement not executed.">            attributeList().add(attribute);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;644</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;645</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 645: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 645: statement not executed.">            childAdded(attribute);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;646</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">        }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;647</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;648</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;649</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 649: method not entered.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 649: method not entered.">    <span class="keyword">public</span> <span class="keyword">boolean</span> remove(Attribute attribute) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;650</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 650: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 650: statement not executed.">        List list = attributeList();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;651</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;652</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 652: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 652: statement not executed.">        <span class="keyword">boolean</span> answer = list.remove(attribute);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;653</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;654</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 654: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 654: statement not executed.">        <span class="keyword">if</span> (answer) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;655</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 655: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 655: statement not executed.">            childRemoved(attribute);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;656</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">        } <span class="keyword">else</span> {</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;657</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">            <span class="comment">// we may have a copy of the attribute</span></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;658</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 658: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 658: statement not executed.">            Attribute copy = attribute(attribute.getQName());</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;659</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;660</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 660: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 660: statement not executed.">            <span class="keyword">if</span> (copy != <span class="keyword">null</span>) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;661</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 661: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 661: statement not executed.">                list.remove(copy);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;662</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;663</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 663: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 663: statement not executed.">                answer = <span class="keyword">true</span>;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;664</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">            }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;665</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">        }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;666</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;667</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 667: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 667: statement not executed.">        <span class="keyword">return</span> answer;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;668</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;669</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;670</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    <span class="comment">// Processing instruction API</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;671</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    <span class="comment">// -------------------------------------------------------------------------</span></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;672</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 672: method not entered.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 672: method not entered.">    <span class="keyword">public</span> List processingInstructions() {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;673</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 673: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 673: statement not executed.">        List list = contentList();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;674</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;675</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 675: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 675: statement not executed.">        BackedList answer = createResultList();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;676</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;677</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 677: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 677: statement not executed.">        <span class="keyword">int</span> size = list.size();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;678</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;679</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 679: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 679: statement not executed.">        <span class="keyword">for</span> (<span class="keyword">int</span> i = 0; i &lt; size; i++) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;680</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 680: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 680: statement not executed.">            Object object = list.get(i);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;681</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;682</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 682: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 682: statement not executed.">            <span class="keyword">if</span> (object <span class="keyword">instanceof</span> ProcessingInstruction) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;683</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 683: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 683: statement not executed.">                answer.addLocal(object);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;684</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">            }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;685</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">        }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;686</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;687</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 687: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 687: statement not executed.">        <span class="keyword">return</span> answer;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;688</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;689</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;690</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 690: method not entered.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 690: method not entered.">    <span class="keyword">public</span> List processingInstructions(String target) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;691</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 691: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 691: statement not executed.">        List list = contentList();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;692</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;693</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 693: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 693: statement not executed.">        BackedList answer = createResultList();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;694</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;695</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 695: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 695: statement not executed.">        <span class="keyword">int</span> size = list.size();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;696</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;697</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 697: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 697: statement not executed.">        <span class="keyword">for</span> (<span class="keyword">int</span> i = 0; i &lt; size; i++) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;698</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 698: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 698: statement not executed.">            Object object = list.get(i);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;699</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;700</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 700: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 700: statement not executed.">            <span class="keyword">if</span> (object <span class="keyword">instanceof</span> ProcessingInstruction) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;701</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 701: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 701: statement not executed.">                ProcessingInstruction pi = (ProcessingInstruction) object;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;702</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;703</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 703: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 703: statement not executed.">                <span class="keyword">if</span> (target.equals(pi.getName())) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;704</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 704: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 704: statement not executed.">                    answer.addLocal(pi);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;705</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">                }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;706</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">            }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;707</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">        }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;708</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;709</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 709: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 709: statement not executed.">        <span class="keyword">return</span> answer;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;710</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;711</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;712</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 712: method not entered.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 712: method not entered.">    <span class="keyword">public</span> ProcessingInstruction processingInstruction(String target) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;713</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 713: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 713: statement not executed.">        List list = contentList();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;714</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;715</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 715: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 715: statement not executed.">        <span class="keyword">int</span> size = list.size();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;716</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;717</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 717: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 717: statement not executed.">        <span class="keyword">for</span> (<span class="keyword">int</span> i = 0; i &lt; size; i++) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;718</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 718: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 718: statement not executed.">            Object object = list.get(i);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;719</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;720</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 720: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 720: statement not executed.">            <span class="keyword">if</span> (object <span class="keyword">instanceof</span> ProcessingInstruction) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;721</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 721: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 721: statement not executed.">                ProcessingInstruction pi = (ProcessingInstruction) object;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;722</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;723</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 723: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 723: statement not executed.">                <span class="keyword">if</span> (target.equals(pi.getName())) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;724</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 724: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 724: statement not executed.">                    <span class="keyword">return</span> pi;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;725</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">                }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;726</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">            }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;727</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">        }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;728</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;729</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 729: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 729: statement not executed.">        <span class="keyword">return</span> <span class="keyword">null</span>;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;730</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;731</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;732</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 732: method not entered.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 732: method not entered.">    <span class="keyword">public</span> <span class="keyword">boolean</span> removeProcessingInstruction(String target) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;733</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 733: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 733: statement not executed.">        List list = contentList();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;734</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;735</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 735: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 735: statement not executed.">        <span class="keyword">for</span> (Iterator iter = list.iterator(); iter.hasNext();) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;736</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 736: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 736: statement not executed.">            Object object = iter.next();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;737</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;738</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 738: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 738: statement not executed.">            <span class="keyword">if</span> (object <span class="keyword">instanceof</span> ProcessingInstruction) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;739</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 739: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 739: statement not executed.">                ProcessingInstruction pi = (ProcessingInstruction) object;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;740</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;741</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 741: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 741: statement not executed.">                <span class="keyword">if</span> (target.equals(pi.getName())) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;742</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 742: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 742: statement not executed.">                    iter.remove();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;743</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;744</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 744: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 744: statement not executed.">                    <span class="keyword">return</span> <span class="keyword">true</span>;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;745</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">                }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;746</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">            }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;747</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">        }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;748</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;749</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 749: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 749: statement not executed.">        <span class="keyword">return</span> <span class="keyword">false</span>;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;750</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;751</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;752</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    <span class="comment">// Content Model methods</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;753</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    <span class="comment">// -------------------------------------------------------------------------</span></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;754</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 754: method entered 2 times.">&nbsp;2</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 754: method entered 2 times.">    <span class="keyword">public</span> Node getXPathResult(<span class="keyword">int</span> index) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;755</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 755: statement executed 2 times.">&nbsp;2</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 755: statement executed 2 times.">        Node answer = node(index);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;756</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;757</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 757: expression evaluated to true 0 times, false 2 times.">&nbsp;2</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 757: expression evaluated to true 0 times, false 2 times.">        <span class="keyword">if</span> ((answer != <span class="keyword">null</span>) &amp;&amp; !answer.supportsParent()) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;758</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 758: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 758: statement not executed.">            <span class="keyword">return</span> answer.asXPathResult(<span class="keyword">this</span>);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;759</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">        }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;760</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;761</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 761: statement executed 2 times.">&nbsp;2</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 761: statement executed 2 times.">        <span class="keyword">return</span> answer;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;762</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;763</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;764</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 764: method entered 1631 times.">&nbsp;1631</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 764: method entered 1631 times.">    <span class="keyword">public</span> Element addAttribute(String name, String value) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;765</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">        <span class="comment">// adding a null value is equivalent to removing the attribute</span></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;766</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 766: statement executed 1631 times.">&nbsp;1631</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 766: statement executed 1631 times.">        Attribute attribute = attribute(name);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;767</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;768</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 768: statement executed 1631 times.">&nbsp;1631</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 768: statement executed 1631 times.">        <span class="keyword">if</span> (value != <span class="keyword">null</span>) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;769</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 769: statement executed 1628 times.">&nbsp;1628</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 769: statement executed 1628 times.">            <span class="keyword">if</span> (attribute == <span class="keyword">null</span>) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;770</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 770: statement executed 1627 times.">&nbsp;1627</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 770: statement executed 1627 times.">                add(getDocumentFactory().createAttribute(<span class="keyword">this</span>, name, value));</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;771</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 771: expression evaluated to true 0 times, false 1 time.">&nbsp;1</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 771: expression evaluated to true 0 times, false 1 time.">            } <span class="keyword">else</span> <span class="keyword">if</span> (attribute.isReadOnly()) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;772</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 772: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 772: statement not executed.">                remove(attribute);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;773</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;774</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 774: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 774: statement not executed.">                add(getDocumentFactory().createAttribute(<span class="keyword">this</span>, name, value));</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;775</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">            } <span class="keyword">else</span> {</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;776</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 776: statement executed 1 time.">&nbsp;1</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 776: statement executed 1 time.">                attribute.setValue(value);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;777</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">            }</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;778</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 778: statement executed 3 times.">&nbsp;3</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 778: statement executed 3 times.">        } <span class="keyword">else</span> <span class="keyword">if</span> (attribute != <span class="keyword">null</span>) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;779</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 779: statement executed 2 times.">&nbsp;2</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 779: statement executed 2 times.">            remove(attribute);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;780</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">        }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;781</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;782</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 782: statement executed 1631 times.">&nbsp;1631</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 782: statement executed 1631 times.">        <span class="keyword">return</span> <span class="keyword">this</span>;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;783</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;784</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;785</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 785: method entered 2845 times.">&nbsp;2845</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 785: method entered 2845 times.">    <span class="keyword">public</span> Element addAttribute(QName qName, String value) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;786</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">        <span class="comment">// adding a null value is equivalent to removing the attribute</span></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;787</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 787: statement executed 2845 times.">&nbsp;2845</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 787: statement executed 2845 times.">        Attribute attribute = attribute(qName);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;788</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;789</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 789: statement executed 2845 times.">&nbsp;2845</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 789: statement executed 2845 times.">        <span class="keyword">if</span> (value != <span class="keyword">null</span>) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;790</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 790: expression evaluated to true 2843 times, false 0 times.">&nbsp;2843</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 790: expression evaluated to true 2843 times, false 0 times.">            <span class="keyword">if</span> (attribute == <span class="keyword">null</span>) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;791</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 791: statement executed 2843 times.">&nbsp;2843</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 791: statement executed 2843 times.">                add(getDocumentFactory().createAttribute(<span class="keyword">this</span>, qName, value));</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;792</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 792: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 792: statement not executed.">            } <span class="keyword">else</span> <span class="keyword">if</span> (attribute.isReadOnly()) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;793</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 793: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 793: statement not executed.">                remove(attribute);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;794</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;795</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 795: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 795: statement not executed.">                add(getDocumentFactory().createAttribute(<span class="keyword">this</span>, qName, value));</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;796</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">            } <span class="keyword">else</span> {</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;797</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 797: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 797: statement not executed.">                attribute.setValue(value);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;798</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">            }</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;799</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 799: statement executed 2 times.">&nbsp;2</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 799: statement executed 2 times.">        } <span class="keyword">else</span> <span class="keyword">if</span> (attribute != <span class="keyword">null</span>) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;800</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 800: statement executed 1 time.">&nbsp;1</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 800: statement executed 1 time.">            remove(attribute);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;801</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">        }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;802</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;803</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 803: statement executed 2845 times.">&nbsp;2845</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 803: statement executed 2845 times.">        <span class="keyword">return</span> <span class="keyword">this</span>;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;804</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;805</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;806</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 806: method entered 102 times.">&nbsp;102</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 806: method entered 102 times.">    <span class="keyword">public</span> Element addCDATA(String cdata) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;807</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 807: statement executed 102 times.">&nbsp;102</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 807: statement executed 102 times.">        CDATA node = getDocumentFactory().createCDATA(cdata);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;808</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;809</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 809: statement executed 102 times.">&nbsp;102</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 809: statement executed 102 times.">        addNewNode(node);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;810</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;811</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 811: statement executed 102 times.">&nbsp;102</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 811: statement executed 102 times.">        <span class="keyword">return</span> <span class="keyword">this</span>;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;812</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;813</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;814</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 814: method entered 491 times.">&nbsp;491</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 814: method entered 491 times.">    <span class="keyword">public</span> Element addComment(String comment) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;815</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 815: statement executed 491 times.">&nbsp;491</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 815: statement executed 491 times.">        Comment node = getDocumentFactory().createComment(comment);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;816</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;817</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 817: statement executed 491 times.">&nbsp;491</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 817: statement executed 491 times.">        addNewNode(node);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;818</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;819</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 819: statement executed 491 times.">&nbsp;491</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 819: statement executed 491 times.">        <span class="keyword">return</span> <span class="keyword">this</span>;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;820</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;821</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;822</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 822: method entered 1654 times.">&nbsp;1654</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 822: method entered 1654 times.">    <span class="keyword">public</span> Element addElement(String name) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;823</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 823: statement executed 1654 times.">&nbsp;1654</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 823: statement executed 1654 times.">        DocumentFactory factory = getDocumentFactory();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;824</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;825</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 825: statement executed 1654 times.">&nbsp;1654</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 825: statement executed 1654 times.">        <span class="keyword">int</span> index = name.indexOf(<span class="string">":"</span>);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;826</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;827</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 827: statement executed 1654 times.">&nbsp;1654</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 827: statement executed 1654 times.">        String prefix = <span class="string">""</span>;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;828</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;829</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 829: statement executed 1654 times.">&nbsp;1654</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 829: statement executed 1654 times.">        String localName = name;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;830</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;831</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 831: statement executed 1654 times.">&nbsp;1654</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 831: statement executed 1654 times.">        Namespace namespace = <span class="keyword">null</span>;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;832</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;833</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 833: statement executed 1654 times.">&nbsp;1654</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 833: statement executed 1654 times.">        <span class="keyword">if</span> (index &gt; 0) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;834</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 834: statement executed 2 times.">&nbsp;2</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 834: statement executed 2 times.">            prefix = name.substring(0, index);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;835</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;836</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 836: statement executed 2 times.">&nbsp;2</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 836: statement executed 2 times.">            localName = name.substring(index + 1);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;837</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;838</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 838: statement executed 2 times.">&nbsp;2</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 838: statement executed 2 times.">            namespace = getNamespaceForPrefix(prefix);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;839</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;840</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 840: expression evaluated to true 0 times, false 2 times.">&nbsp;2</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 840: expression evaluated to true 0 times, false 2 times.">            <span class="keyword">if</span> (namespace == <span class="keyword">null</span>) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;841</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 841: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 841: statement not executed.">                <span class="keyword">throw</span> <span class="keyword">new</span> IllegalAddException(<span class="string">"No such namespace prefix: "</span></A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;842</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">                        + prefix + <span class="string">" is in scope on: "</span> + <span class="keyword">this</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;843</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">                        + <span class="string">" so cannot add element: "</span> + name);</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;844</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">            }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;845</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">        } <span class="keyword">else</span> {</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;846</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 846: statement executed 1652 times.">&nbsp;1652</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 846: statement executed 1652 times.">            namespace = getNamespaceForPrefix(<span class="string">""</span>);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;847</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">        }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;848</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;849</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 849: statement executed 1654 times.">&nbsp;1654</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 849: statement executed 1654 times.">        Element node;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;850</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;851</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 851: expression evaluated to true 1654 times, false 0 times.">&nbsp;1654</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 851: expression evaluated to true 1654 times, false 0 times.">        <span class="keyword">if</span> (namespace != <span class="keyword">null</span>) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;852</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 852: statement executed 1654 times.">&nbsp;1654</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 852: statement executed 1654 times.">            QName qname = factory.createQName(localName, namespace);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;853</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;854</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 854: statement executed 1654 times.">&nbsp;1654</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 854: statement executed 1654 times.">            node = factory.createElement(qname);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;855</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">        } <span class="keyword">else</span> {</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;856</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 856: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 856: statement not executed.">            node = factory.createElement(name);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;857</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">        }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;858</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;859</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 859: statement executed 1654 times.">&nbsp;1654</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 859: statement executed 1654 times.">        addNewNode(node);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;860</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;861</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 861: statement executed 1654 times.">&nbsp;1654</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 861: statement executed 1654 times.">        <span class="keyword">return</span> node;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;862</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;863</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;864</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 864: method entered 4 times.">&nbsp;4</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 864: method entered 4 times.">    <span class="keyword">public</span> Element addEntity(String name, String text) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;865</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 865: statement executed 4 times.">&nbsp;4</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 865: statement executed 4 times.">        Entity node = getDocumentFactory().createEntity(name, text);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;866</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;867</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 867: statement executed 4 times.">&nbsp;4</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 867: statement executed 4 times.">        addNewNode(node);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;868</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;869</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 869: statement executed 4 times.">&nbsp;4</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 869: statement executed 4 times.">        <span class="keyword">return</span> <span class="keyword">this</span>;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;870</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;871</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;872</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 872: method entered 11 times.">&nbsp;11</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 872: method entered 11 times.">    <span class="keyword">public</span> Element addNamespace(String prefix, String uri) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;873</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 873: statement executed 11 times.">&nbsp;11</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 873: statement executed 11 times.">        Namespace node = getDocumentFactory().createNamespace(prefix, uri);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;874</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;875</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 875: statement executed 11 times.">&nbsp;11</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 875: statement executed 11 times.">        addNewNode(node);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;876</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;877</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 877: statement executed 11 times.">&nbsp;11</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 877: statement executed 11 times.">        <span class="keyword">return</span> <span class="keyword">this</span>;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;878</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;879</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;880</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 880: method entered 1 time.">&nbsp;1</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 880: method entered 1 time.">    <span class="keyword">public</span> Element addProcessingInstruction(String target, String data) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;881</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 881: statement executed 1 time.">&nbsp;1</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 881: statement executed 1 time.">        ProcessingInstruction node = getDocumentFactory()</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;882</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">                .createProcessingInstruction(target, data);</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;883</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;884</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 884: statement executed 1 time.">&nbsp;1</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 884: statement executed 1 time.">        addNewNode(node);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;885</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;886</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 886: statement executed 1 time.">&nbsp;1</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 886: statement executed 1 time.">        <span class="keyword">return</span> <span class="keyword">this</span>;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;887</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;888</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;889</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 889: method not entered.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 889: method not entered.">    <span class="keyword">public</span> Element addProcessingInstruction(String target, Map data) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;890</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 890: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 890: statement not executed.">        ProcessingInstruction node = getDocumentFactory()</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;891</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">                .createProcessingInstruction(target, data);</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;892</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;893</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 893: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 893: statement not executed.">        addNewNode(node);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;894</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;895</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 895: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 895: statement not executed.">        <span class="keyword">return</span> <span class="keyword">this</span>;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;896</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;897</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;898</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 898: method entered 121732 times.">&nbsp;121732</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 898: method entered 121732 times.">    <span class="keyword">public</span> Element addText(String text) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;899</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 899: statement executed 121732 times.">&nbsp;121732</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 899: statement executed 121732 times.">        Text node = getDocumentFactory().createText(text);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;900</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;901</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 901: statement executed 121732 times.">&nbsp;121732</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 901: statement executed 121732 times.">        addNewNode(node);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;902</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;903</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 903: statement executed 121732 times.">&nbsp;121732</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 903: statement executed 121732 times.">        <span class="keyword">return</span> <span class="keyword">this</span>;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;904</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;905</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;906</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    <span class="comment">// polymorphic node methods</span></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;907</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 907: method entered 370 times.">&nbsp;370</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 907: method entered 370 times.">    <span class="keyword">public</span> <span class="keyword">void</span> add(Node node) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;908</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 908: statement executed 370 times.">&nbsp;370</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 908: statement executed 370 times.">        <span class="keyword">switch</span> (node.getNodeType()) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;909</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 909: statement executed 128 times.">&nbsp;128</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 909: statement executed 128 times.">            <span class="keyword">case</span> ELEMENT_NODE:</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;910</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 910: statement executed 128 times.">&nbsp;128</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 910: statement executed 128 times.">                add((Element) node);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;911</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;912</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 912: statement executed 128 times.">&nbsp;128</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 912: statement executed 128 times.">                <span class="keyword">break</span>;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;913</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;914</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 914: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 914: statement not executed.">            <span class="keyword">case</span> ATTRIBUTE_NODE:</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;915</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 915: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 915: statement not executed.">                add((Attribute) node);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;916</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;917</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 917: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 917: statement not executed.">                <span class="keyword">break</span>;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;918</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;919</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 919: statement executed 231 times.">&nbsp;231</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 919: statement executed 231 times.">            <span class="keyword">case</span> TEXT_NODE:</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;920</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 920: statement executed 231 times.">&nbsp;231</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 920: statement executed 231 times.">                add((Text) node);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;921</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;922</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 922: statement executed 231 times.">&nbsp;231</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 922: statement executed 231 times.">                <span class="keyword">break</span>;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;923</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;924</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 924: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 924: statement not executed.">            <span class="keyword">case</span> CDATA_SECTION_NODE:</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;925</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 925: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 925: statement not executed.">                add((CDATA) node);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;926</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;927</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 927: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 927: statement not executed.">                <span class="keyword">break</span>;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;928</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;929</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 929: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 929: statement not executed.">            <span class="keyword">case</span> ENTITY_REFERENCE_NODE:</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;930</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 930: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 930: statement not executed.">                add((Entity) node);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;931</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;932</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 932: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 932: statement not executed.">                <span class="keyword">break</span>;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;933</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;934</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 934: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 934: statement not executed.">            <span class="keyword">case</span> PROCESSING_INSTRUCTION_NODE:</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;935</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 935: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 935: statement not executed.">                add((ProcessingInstruction) node);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;936</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;937</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 937: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 937: statement not executed.">                <span class="keyword">break</span>;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;938</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;939</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 939: statement executed 3 times.">&nbsp;3</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 939: statement executed 3 times.">            <span class="keyword">case</span> COMMENT_NODE:</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;940</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 940: statement executed 3 times.">&nbsp;3</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 940: statement executed 3 times.">                add((Comment) node);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;941</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;942</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 942: statement executed 3 times.">&nbsp;3</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 942: statement executed 3 times.">                <span class="keyword">break</span>;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;943</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;944</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">            <span class="comment">/*</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;945</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">             * XXXX: to do! case DOCUMENT_TYPE_NODE: add((DocumentType) node);</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;946</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">             * break;</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;947</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">             */</span></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;948</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 948: statement executed 8 times.">&nbsp;8</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 948: statement executed 8 times.">            <span class="keyword">case</span> NAMESPACE_NODE:</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;949</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 949: statement executed 8 times.">&nbsp;8</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 949: statement executed 8 times.">                add((Namespace) node);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;950</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;951</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 951: statement executed 8 times.">&nbsp;8</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 951: statement executed 8 times.">                <span class="keyword">break</span>;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;952</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;953</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 953: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 953: statement not executed.">            <span class="keyword">default</span>:</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;954</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 954: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 954: statement not executed.">                invalidNodeTypeAddException(node);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;955</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">        }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;956</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;957</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;958</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 958: method entered 1515 times.">&nbsp;1515</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 958: method entered 1515 times.">    <span class="keyword">public</span> <span class="keyword">boolean</span> remove(Node node) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;959</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 959: statement executed 1515 times.">&nbsp;1515</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 959: statement executed 1515 times.">        <span class="keyword">switch</span> (node.getNodeType()) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;960</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 960: statement executed 1513 times.">&nbsp;1513</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 960: statement executed 1513 times.">            <span class="keyword">case</span> ELEMENT_NODE:</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;961</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 961: statement executed 1513 times.">&nbsp;1513</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 961: statement executed 1513 times.">                <span class="keyword">return</span> remove((Element) node);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;962</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;963</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 963: statement executed 2 times.">&nbsp;2</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 963: statement executed 2 times.">            <span class="keyword">case</span> ATTRIBUTE_NODE:</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;964</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 964: statement executed 2 times.">&nbsp;2</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 964: statement executed 2 times.">                <span class="keyword">return</span> remove((Attribute) node);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;965</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;966</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 966: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 966: statement not executed.">            <span class="keyword">case</span> TEXT_NODE:</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;967</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 967: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 967: statement not executed.">                <span class="keyword">return</span> remove((Text) node);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;968</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;969</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 969: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 969: statement not executed.">            <span class="keyword">case</span> CDATA_SECTION_NODE:</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;970</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 970: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 970: statement not executed.">                <span class="keyword">return</span> remove((CDATA) node);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;971</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;972</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 972: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 972: statement not executed.">            <span class="keyword">case</span> ENTITY_REFERENCE_NODE:</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;973</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 973: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 973: statement not executed.">                <span class="keyword">return</span> remove((Entity) node);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;974</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;975</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 975: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 975: statement not executed.">            <span class="keyword">case</span> PROCESSING_INSTRUCTION_NODE:</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;976</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 976: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 976: statement not executed.">                <span class="keyword">return</span> remove((ProcessingInstruction) node);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;977</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;978</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 978: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 978: statement not executed.">            <span class="keyword">case</span> COMMENT_NODE:</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;979</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 979: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 979: statement not executed.">                <span class="keyword">return</span> remove((Comment) node);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;980</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;981</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">            <span class="comment">/*</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;982</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">             * case DOCUMENT_TYPE_NODE: return remove((DocumentType) node);</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;983</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">             */</span></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;984</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 984: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 984: statement not executed.">            <span class="keyword">case</span> NAMESPACE_NODE:</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;985</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 985: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 985: statement not executed.">                <span class="keyword">return</span> remove((Namespace) node);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;986</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;987</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 987: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 987: statement not executed.">            <span class="keyword">default</span>:</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;988</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 988: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 988: statement not executed.">                <span class="keyword">return</span> <span class="keyword">false</span>;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;989</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">        }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;990</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;991</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;992</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    <span class="comment">// typesafe versions using node classes</span></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;993</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 993: method not entered.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 993: method not entered.">    <span class="keyword">public</span> <span class="keyword">void</span> add(CDATA cdata) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;994</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 994: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 994: statement not executed.">        addNode(cdata);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;995</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;996</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;997</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 997: method entered 3 times.">&nbsp;3</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 997: method entered 3 times.">    <span class="keyword">public</span> <span class="keyword">void</span> add(Comment comment) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;998</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 998: statement executed 3 times.">&nbsp;3</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 998: statement executed 3 times.">        addNode(comment);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;999</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1000</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1001</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1001: method entered 89668 times.">&nbsp;89668</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1001: method entered 89668 times.">    <span class="keyword">public</span> <span class="keyword">void</span> add(Element element) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1002</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1002: statement executed 89668 times.">&nbsp;89668</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1002: statement executed 89668 times.">        addNode(element);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1003</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1004</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1005</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1005: method not entered.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1005: method not entered.">    <span class="keyword">public</span> <span class="keyword">void</span> add(Entity entity) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1006</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1006: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1006: statement not executed.">        addNode(entity);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1007</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1008</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1009</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1009: method entered 5944 times.">&nbsp;5944</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1009: method entered 5944 times.">    <span class="keyword">public</span> <span class="keyword">void</span> add(Namespace namespace) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1010</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1010: statement executed 5944 times.">&nbsp;5944</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1010: statement executed 5944 times.">        addNode(namespace);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1011</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1012</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1013</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1013: method not entered.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1013: method not entered.">    <span class="keyword">public</span> <span class="keyword">void</span> add(ProcessingInstruction pi) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1014</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1014: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1014: statement not executed.">        addNode(pi);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1015</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1016</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1017</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1017: method entered 231 times.">&nbsp;231</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1017: method entered 231 times.">    <span class="keyword">public</span> <span class="keyword">void</span> add(Text text) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1018</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1018: statement executed 231 times.">&nbsp;231</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1018: statement executed 231 times.">        addNode(text);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1019</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1020</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1021</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1021: method not entered.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1021: method not entered.">    <span class="keyword">public</span> <span class="keyword">boolean</span> remove(CDATA cdata) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1022</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1022: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1022: statement not executed.">        <span class="keyword">return</span> removeNode(cdata);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1023</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1024</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1025</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1025: method not entered.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1025: method not entered.">    <span class="keyword">public</span> <span class="keyword">boolean</span> remove(Comment comment) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1026</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1026: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1026: statement not executed.">        <span class="keyword">return</span> removeNode(comment);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1027</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1028</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1029</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1029: method entered 1513 times.">&nbsp;1513</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1029: method entered 1513 times.">    <span class="keyword">public</span> <span class="keyword">boolean</span> remove(Element element) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1030</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1030: statement executed 1513 times.">&nbsp;1513</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1030: statement executed 1513 times.">        <span class="keyword">return</span> removeNode(element);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1031</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1032</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1033</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1033: method not entered.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1033: method not entered.">    <span class="keyword">public</span> <span class="keyword">boolean</span> remove(Entity entity) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1034</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1034: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1034: statement not executed.">        <span class="keyword">return</span> removeNode(entity);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1035</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1036</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1037</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1037: method entered 3 times.">&nbsp;3</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1037: method entered 3 times.">    <span class="keyword">public</span> <span class="keyword">boolean</span> remove(Namespace namespace) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1038</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1038: statement executed 3 times.">&nbsp;3</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1038: statement executed 3 times.">        <span class="keyword">return</span> removeNode(namespace);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1039</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1040</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1041</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1041: method not entered.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1041: method not entered.">    <span class="keyword">public</span> <span class="keyword">boolean</span> remove(ProcessingInstruction pi) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1042</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1042: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1042: statement not executed.">        <span class="keyword">return</span> removeNode(pi);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1043</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1044</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1045</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1045: method entered 12026 times.">&nbsp;12026</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1045: method entered 12026 times.">    <span class="keyword">public</span> <span class="keyword">boolean</span> remove(Text text) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1046</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1046: statement executed 12026 times.">&nbsp;12026</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1046: statement executed 12026 times.">        <span class="keyword">return</span> removeNode(text);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1047</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1048</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1049</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    <span class="comment">// Helper methods</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1050</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    <span class="comment">// -------------------------------------------------------------------------</span></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1051</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1051: method not entered.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1051: method not entered.">    <span class="keyword">public</span> <span class="keyword">boolean</span> hasMixedContent() {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1052</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1052: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1052: statement not executed.">        List content = contentList();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1053</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1054</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1054: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1054: statement not executed.">        <span class="keyword">if</span> ((content == <span class="keyword">null</span>) || content.isEmpty() || (content.size() &lt; 2)) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1055</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1055: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1055: statement not executed.">            <span class="keyword">return</span> <span class="keyword">false</span>;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1056</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">        }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1057</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1058</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1058: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1058: statement not executed.">        Class prevClass = <span class="keyword">null</span>;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1059</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1060</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1060: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1060: statement not executed.">        <span class="keyword">for</span> (Iterator iter = content.iterator(); iter.hasNext();) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1061</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1061: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1061: statement not executed.">            Object object = iter.next();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1062</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1063</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1063: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1063: statement not executed.">            Class newClass = object.getClass();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1064</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1065</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1065: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1065: statement not executed.">            <span class="keyword">if</span> (newClass != prevClass) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1066</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1066: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1066: statement not executed.">                <span class="keyword">if</span> (prevClass != <span class="keyword">null</span>) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1067</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1067: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1067: statement not executed.">                    <span class="keyword">return</span> <span class="keyword">true</span>;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1068</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">                }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1069</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1070</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1070: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1070: statement not executed.">                prevClass = newClass;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1071</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">            }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1072</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">        }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1073</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1074</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1074: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1074: statement not executed.">        <span class="keyword">return</span> <span class="keyword">false</span>;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1075</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1076</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1077</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1077: method entered 2 times.">&nbsp;2</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1077: method entered 2 times.">    <span class="keyword">public</span> <span class="keyword">boolean</span> isTextOnly() {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1078</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1078: statement executed 2 times.">&nbsp;2</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1078: statement executed 2 times.">        List content = contentList();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1079</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1080</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1080: expression evaluated to true 0 times, false 2 times.">&nbsp;2</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1080: expression evaluated to true 0 times, false 2 times.">        <span class="keyword">if</span> ((content == <span class="keyword">null</span>) || content.isEmpty()) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1081</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1081: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1081: statement not executed.">            <span class="keyword">return</span> <span class="keyword">true</span>;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1082</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">        }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1083</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1084</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1084: statement executed 2 times.">&nbsp;2</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1084: statement executed 2 times.">        <span class="keyword">for</span> (Iterator iter = content.iterator(); iter.hasNext();) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1085</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1085: statement executed 2 times.">&nbsp;2</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1085: statement executed 2 times.">            Object object = iter.next();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1086</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1087</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1087: statement executed 2 times.">&nbsp;2</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1087: statement executed 2 times.">            <span class="keyword">if</span> (!(object <span class="keyword">instanceof</span> CharacterData)</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1088</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">                    &amp;&amp; !(object <span class="keyword">instanceof</span> String)) {</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1089</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1089: statement executed 1 time.">&nbsp;1</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1089: statement executed 1 time.">                <span class="keyword">return</span> <span class="keyword">false</span>;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1090</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">            }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1091</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">        }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1092</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1093</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1093: statement executed 1 time.">&nbsp;1</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1093: statement executed 1 time.">        <span class="keyword">return</span> <span class="keyword">true</span>;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1094</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1095</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1096</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1096: method entered 2017 times.">&nbsp;2017</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1096: method entered 2017 times.">    <span class="keyword">public</span> <span class="keyword">void</span> setText(String text) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1097</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">        <span class="comment">/* remove all text nodes */</span></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1098</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1098: statement executed 2017 times.">&nbsp;2017</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1098: statement executed 2017 times.">        List allContent = contentList();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1099</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1100</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1100: expression evaluated to true 2017 times, false 0 times.">&nbsp;2017</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1100: expression evaluated to true 2017 times, false 0 times.">        <span class="keyword">if</span> (allContent != <span class="keyword">null</span>) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1101</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1101: statement executed 2017 times.">&nbsp;2017</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1101: statement executed 2017 times.">            Iterator it = allContent.iterator();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1102</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1103</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1103: statement executed 2017 times.">&nbsp;2017</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1103: statement executed 2017 times.">            <span class="keyword">while</span> (it.hasNext()) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1104</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1104: statement executed 9 times.">&nbsp;9</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1104: statement executed 9 times.">                Node node = (Node) it.next();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1105</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1106</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1106: statement executed 9 times.">&nbsp;9</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1106: statement executed 9 times.">                <span class="keyword">switch</span> (node.getNodeType()) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1107</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1107: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1107: statement not executed.">                    <span class="keyword">case</span> CDATA_SECTION_NODE:</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1108</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1109</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">                    <span class="comment">// case ENTITY_NODE:</span></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1110</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1110: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1110: statement not executed.">                    <span class="keyword">case</span> ENTITY_REFERENCE_NODE:</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1111</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1111: statement executed 8 times.">&nbsp;8</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1111: statement executed 8 times.">                    <span class="keyword">case</span> TEXT_NODE:</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1112</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1112: statement executed 8 times.">&nbsp;8</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1112: statement executed 8 times.">                        it.remove();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1113</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1114</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1114: statement executed 1 time.">&nbsp;1</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1114: statement executed 1 time.">                    <span class="keyword">default</span>:</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1115</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1115: statement executed 9 times.">&nbsp;9</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1115: statement executed 9 times.">                        <span class="keyword">break</span>;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1116</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">                }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1117</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">            }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1118</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">        }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1119</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1120</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1120: statement executed 2017 times.">&nbsp;2017</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1120: statement executed 2017 times.">        addText(text);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1121</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1122</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1123</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1123: method not entered.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1123: method not entered.">    <span class="keyword">public</span> String getStringValue() {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1124</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1124: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1124: statement not executed.">        List list = contentList();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1125</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1126</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1126: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1126: statement not executed.">        <span class="keyword">int</span> size = list.size();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1127</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1128</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1128: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1128: statement not executed.">        <span class="keyword">if</span> (size &gt; 0) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1129</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1129: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1129: statement not executed.">            <span class="keyword">if</span> (size == 1) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1130</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">                <span class="comment">// optimised to avoid StringBuffer creation</span></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1131</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1131: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1131: statement not executed.">                <span class="keyword">return</span> getContentAsStringValue(list.get(0));</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1132</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">            } <span class="keyword">else</span> {</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1133</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1133: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1133: statement not executed.">                StringBuffer buffer = <span class="keyword">new</span> StringBuffer();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1134</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1135</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1135: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1135: statement not executed.">                <span class="keyword">for</span> (<span class="keyword">int</span> i = 0; i &lt; size; i++) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1136</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1136: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1136: statement not executed.">                    Object node = list.get(i);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1137</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1138</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1138: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1138: statement not executed.">                    String string = getContentAsStringValue(node);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1139</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1140</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1140: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1140: statement not executed.">                    <span class="keyword">if</span> (string.length() &gt; 0) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1141</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1141: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1141: statement not executed.">                        <span class="keyword">if</span> (USE_STRINGVALUE_SEPARATOR) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1142</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1142: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1142: statement not executed.">                            <span class="keyword">if</span> (buffer.length() &gt; 0) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1143</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1143: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1143: statement not executed.">                                buffer.append(' ');</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1144</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">                            }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1145</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">                        }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1146</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1147</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1147: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1147: statement not executed.">                        buffer.append(string);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1148</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">                    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1149</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">                }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1150</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1151</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1151: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1151: statement not executed.">                <span class="keyword">return</span> buffer.toString();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1152</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">            }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1153</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">        }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1154</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1155</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1155: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1155: statement not executed.">        <span class="keyword">return</span> <span class="string">""</span>;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1156</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1157</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1158</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    <span class="comment">/**</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1159</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     * Puts all &lt;code&gt;Text&lt;/code&gt; nodes in the full depth of the sub-tree</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1160</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     * underneath this &lt;code&gt;Node&lt;/code&gt;, including attribute nodes, into a</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1161</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     * "normal" form where only structure (e.g., elements, comments, processing</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1162</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     * instructions, CDATA sections, and entity references) separates</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1163</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     * &lt;code&gt;Text&lt;/code&gt; nodes, i.e., there are neither adjacent</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1164</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     * &lt;code&gt;Text&lt;/code&gt; nodes nor empty &lt;code&gt;Text&lt;/code&gt; nodes. This can</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1165</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     * be used to ensure that the DOM view of a document is the same as if it</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1166</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     * were saved and re-loaded, and is useful when operations (such as XPointer</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1167</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     * lookups) that depend on a particular document tree structure are to be</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1168</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     * used.In cases where the document contains &lt;code&gt;CDATASections&lt;/code&gt;,</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1169</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     * the normalize operation alone may not be sufficient, since XPointers do</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1170</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     * not differentiate between &lt;code&gt;Text&lt;/code&gt; nodes and</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1171</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     * &lt;code&gt;CDATASection&lt;/code&gt; nodes.</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1172</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     * </span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1173</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     * <span class="javadoc">@since</span> DOM Level 2</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1174</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     */</span></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1175</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1175: method entered 42766 times.">&nbsp;42766</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1175: method entered 42766 times.">    <span class="keyword">public</span> <span class="keyword">void</span> normalize() {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1176</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1176: statement executed 42766 times.">&nbsp;42766</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1176: statement executed 42766 times.">        List content = contentList();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1177</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1178</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1178: statement executed 42766 times.">&nbsp;42766</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1178: statement executed 42766 times.">        Text previousText = <span class="keyword">null</span>;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1179</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1180</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1180: statement executed 42766 times.">&nbsp;42766</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1180: statement executed 42766 times.">        <span class="keyword">int</span> i = 0;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1181</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1182</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1182: statement executed 42766 times.">&nbsp;42766</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1182: statement executed 42766 times.">        <span class="keyword">while</span> (i &lt; content.size()) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1183</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1183: statement executed 133130 times.">&nbsp;133130</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1183: statement executed 133130 times.">            Node node = (Node) content.get(i);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1184</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1185</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1185: statement executed 133130 times.">&nbsp;133130</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1185: statement executed 133130 times.">            <span class="keyword">if</span> (node <span class="keyword">instanceof</span> Text) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1186</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1186: statement executed 89266 times.">&nbsp;89266</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1186: statement executed 89266 times.">                Text text = (Text) node;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1187</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1188</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1188: statement executed 89266 times.">&nbsp;89266</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1188: statement executed 89266 times.">                <span class="keyword">if</span> (previousText != <span class="keyword">null</span>) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1189</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1189: statement executed 12026 times.">&nbsp;12026</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1189: statement executed 12026 times.">                    previousText.appendText(text.getText());</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1190</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1191</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1191: statement executed 12026 times.">&nbsp;12026</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1191: statement executed 12026 times.">                    remove(text);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1192</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">                } <span class="keyword">else</span> {</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1193</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1193: statement executed 77240 times.">&nbsp;77240</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1193: statement executed 77240 times.">                    String value = text.getText();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1194</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1195</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">                    <span class="comment">// only remove empty Text nodes, not whitespace nodes</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1196</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">                    <span class="comment">// if ( value == null || value.trim().length() &lt;= 0 ) {</span></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1197</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1197: expression evaluated to true 0 times, false 77240 times.">&nbsp;77240</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1197: expression evaluated to true 0 times, false 77240 times.">                    <span class="keyword">if</span> ((value == <span class="keyword">null</span>) || (value.length() &lt;= 0)) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1198</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1198: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1198: statement not executed.">                        remove(text);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1199</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">                    } <span class="keyword">else</span> {</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1200</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1200: statement executed 77240 times.">&nbsp;77240</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1200: statement executed 77240 times.">                        previousText = text;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1201</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1202</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1202: statement executed 77240 times.">&nbsp;77240</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1202: statement executed 77240 times.">                        i++;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1203</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">                    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1204</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">                }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1205</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">            } <span class="keyword">else</span> {</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1206</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1206: statement executed 43864 times.">&nbsp;43864</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1206: statement executed 43864 times.">                <span class="keyword">if</span> (node <span class="keyword">instanceof</span> Element) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1207</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1207: statement executed 42656 times.">&nbsp;42656</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1207: statement executed 42656 times.">                    Element element = (Element) node;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1208</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1209</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1209: statement executed 42656 times.">&nbsp;42656</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1209: statement executed 42656 times.">                    element.normalize();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1210</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">                }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1211</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1212</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1212: statement executed 43864 times.">&nbsp;43864</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1212: statement executed 43864 times.">                previousText = <span class="keyword">null</span>;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1213</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1214</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1214: statement executed 43864 times.">&nbsp;43864</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1214: statement executed 43864 times.">                i++;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1215</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">            }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1216</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">        }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1217</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1218</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1219</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1219: method not entered.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1219: method not entered.">    <span class="keyword">public</span> String elementText(String name) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1220</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1220: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1220: statement not executed.">        Element element = element(name);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1221</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1222</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1222: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1222: statement not executed.">        <span class="keyword">return</span> (element != <span class="keyword">null</span>) ? element.getText() : <span class="keyword">null</span>;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1223</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1224</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1225</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1225: method not entered.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1225: method not entered.">    <span class="keyword">public</span> String elementText(QName qName) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1226</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1226: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1226: statement not executed.">        Element element = element(qName);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1227</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1228</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1228: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1228: statement not executed.">        <span class="keyword">return</span> (element != <span class="keyword">null</span>) ? element.getText() : <span class="keyword">null</span>;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1229</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1230</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1231</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1231: method not entered.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1231: method not entered.">    <span class="keyword">public</span> String elementTextTrim(String name) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1232</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1232: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1232: statement not executed.">        Element element = element(name);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1233</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1234</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1234: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1234: statement not executed.">        <span class="keyword">return</span> (element != <span class="keyword">null</span>) ? element.getTextTrim() : <span class="keyword">null</span>;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1235</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1236</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1237</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1237: method not entered.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1237: method not entered.">    <span class="keyword">public</span> String elementTextTrim(QName qName) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1238</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1238: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1238: statement not executed.">        Element element = element(qName);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1239</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1240</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1240: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1240: statement not executed.">        <span class="keyword">return</span> (element != <span class="keyword">null</span>) ? element.getTextTrim() : <span class="keyword">null</span>;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1241</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1242</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1243</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    <span class="comment">// add to me content from another element</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1244</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    <span class="comment">// analagous to the addAll(collection) methods in Java 2 collections</span></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1245</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1245: method entered 134 times.">&nbsp;134</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1245: method entered 134 times.">    <span class="keyword">public</span> <span class="keyword">void</span> appendAttributes(Element element) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1246</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1246: statement executed 134 times.">&nbsp;134</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1246: statement executed 134 times.">        <span class="keyword">for</span> (<span class="keyword">int</span> i = 0, size = element.attributeCount(); i &lt; size; i++) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1247</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1247: statement executed 58 times.">&nbsp;58</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1247: statement executed 58 times.">            Attribute attribute = element.attribute(i);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1248</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1249</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1249: expression evaluated to true 58 times, false 0 times.">&nbsp;58</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1249: expression evaluated to true 58 times, false 0 times.">            <span class="keyword">if</span> (attribute.supportsParent()) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1250</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1250: statement executed 58 times.">&nbsp;58</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1250: statement executed 58 times.">                addAttribute(attribute.getQName(), attribute.getValue());</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1251</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">            } <span class="keyword">else</span> {</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1252</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1252: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1252: statement not executed.">                add(attribute);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1253</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">            }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1254</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">        }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1255</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1256</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1257</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    <span class="comment">/**</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1258</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     * &lt;p&gt;</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1259</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     * This returns a deep clone of this element. The new element is detached</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1260</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     * from its parent, and getParent() on the clone will return null.</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1261</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     * &lt;/p&gt;</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1262</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     * </span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1263</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     * <span class="javadoc">@return</span> the clone of this element</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1264</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     */</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1265</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1266</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    <span class="comment">/*</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1267</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     * public Object clone() { Element clone = createElement(getQName());</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1268</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     * clone.appendAttributes(this); clone.appendContent(this); return clone; }</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1269</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     */</span></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1270</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1270: method entered 5 times.">&nbsp;5</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1270: method entered 5 times.">    <span class="keyword">public</span> Element createCopy() {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1271</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1271: statement executed 5 times.">&nbsp;5</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1271: statement executed 5 times.">        Element clone = createElement(getQName());</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1272</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1273</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1273: statement executed 5 times.">&nbsp;5</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1273: statement executed 5 times.">        clone.appendAttributes(<span class="keyword">this</span>);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1274</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1275</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1275: statement executed 5 times.">&nbsp;5</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1275: statement executed 5 times.">        clone.appendContent(<span class="keyword">this</span>);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1276</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1277</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1277: statement executed 5 times.">&nbsp;5</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1277: statement executed 5 times.">        <span class="keyword">return</span> clone;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1278</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1279</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1280</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1280: method not entered.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1280: method not entered.">    <span class="keyword">public</span> Element createCopy(String name) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1281</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1281: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1281: statement not executed.">        Element clone = createElement(name);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1282</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1283</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1283: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1283: statement not executed.">        clone.appendAttributes(<span class="keyword">this</span>);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1284</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1285</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1285: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1285: statement not executed.">        clone.appendContent(<span class="keyword">this</span>);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1286</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1287</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1287: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1287: statement not executed.">        <span class="keyword">return</span> clone;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1288</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1289</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1290</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1290: method not entered.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1290: method not entered.">    <span class="keyword">public</span> Element createCopy(QName qName) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1291</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1291: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1291: statement not executed.">        Element clone = createElement(qName);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1292</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1293</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1293: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1293: statement not executed.">        clone.appendAttributes(<span class="keyword">this</span>);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1294</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1295</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1295: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1295: statement not executed.">        clone.appendContent(<span class="keyword">this</span>);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1296</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1297</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1297: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1297: statement not executed.">        <span class="keyword">return</span> clone;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1298</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1299</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1300</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1300: method entered 7005 times.">&nbsp;7005</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1300: method entered 7005 times.">    <span class="keyword">public</span> QName getQName(String qualifiedName) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1301</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1301: statement executed 7005 times.">&nbsp;7005</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1301: statement executed 7005 times.">        String prefix = <span class="string">""</span>;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1302</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1303</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1303: statement executed 7005 times.">&nbsp;7005</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1303: statement executed 7005 times.">        String localName = qualifiedName;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1304</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1305</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1305: statement executed 7005 times.">&nbsp;7005</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1305: statement executed 7005 times.">        <span class="keyword">int</span> index = qualifiedName.indexOf(<span class="string">":"</span>);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1306</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1307</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1307: statement executed 7005 times.">&nbsp;7005</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1307: statement executed 7005 times.">        <span class="keyword">if</span> (index &gt; 0) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1308</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1308: statement executed 5004 times.">&nbsp;5004</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1308: statement executed 5004 times.">            prefix = qualifiedName.substring(0, index);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1309</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1310</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1310: statement executed 5004 times.">&nbsp;5004</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1310: statement executed 5004 times.">            localName = qualifiedName.substring(index + 1);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1311</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">        }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1312</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1313</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1313: statement executed 7005 times.">&nbsp;7005</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1313: statement executed 7005 times.">        Namespace namespace = getNamespaceForPrefix(prefix);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1314</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1315</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1315: expression evaluated to true 7005 times, false 0 times.">&nbsp;7005</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1315: expression evaluated to true 7005 times, false 0 times.">        <span class="keyword">if</span> (namespace != <span class="keyword">null</span>) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1316</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1316: statement executed 7005 times.">&nbsp;7005</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1316: statement executed 7005 times.">            <span class="keyword">return</span> getDocumentFactory().createQName(localName, namespace);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1317</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">        } <span class="keyword">else</span> {</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1318</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1318: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1318: statement not executed.">            <span class="keyword">return</span> getDocumentFactory().createQName(localName);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1319</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">        }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1320</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1321</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1322</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1322: method not entered.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1322: method not entered.">    <span class="keyword">public</span> Namespace getNamespaceForPrefix(String prefix) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1323</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1323: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1323: statement not executed.">        <span class="keyword">if</span> (prefix == <span class="keyword">null</span>) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1324</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1324: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1324: statement not executed.">            prefix = <span class="string">""</span>;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1325</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">        }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1326</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1327</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1327: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1327: statement not executed.">        <span class="keyword">if</span> (prefix.equals(getNamespacePrefix())) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1328</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1328: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1328: statement not executed.">            <span class="keyword">return</span> getNamespace();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1329</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1329: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1329: statement not executed.">        } <span class="keyword">else</span> <span class="keyword">if</span> (prefix.equals(<span class="string">"xml"</span>)) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1330</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1330: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1330: statement not executed.">            <span class="keyword">return</span> Namespace.XML_NAMESPACE;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1331</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">        } <span class="keyword">else</span> {</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1332</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1332: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1332: statement not executed.">            List list = contentList();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1333</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1334</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1334: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1334: statement not executed.">            <span class="keyword">int</span> size = list.size();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1335</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1336</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1336: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1336: statement not executed.">            <span class="keyword">for</span> (<span class="keyword">int</span> i = 0; i &lt; size; i++) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1337</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1337: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1337: statement not executed.">                Object object = list.get(i);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1338</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1339</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1339: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1339: statement not executed.">                <span class="keyword">if</span> (object <span class="keyword">instanceof</span> Namespace) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1340</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1340: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1340: statement not executed.">                    Namespace namespace = (Namespace) object;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1341</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1342</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1342: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1342: statement not executed.">                    <span class="keyword">if</span> (prefix.equals(namespace.getPrefix())) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1343</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1343: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1343: statement not executed.">                        <span class="keyword">return</span> namespace;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1344</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">                    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1345</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">                }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1346</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">            }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1347</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">        }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1348</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1349</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1349: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1349: statement not executed.">        Element parent = getParent();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1350</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1351</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1351: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1351: statement not executed.">        <span class="keyword">if</span> (parent != <span class="keyword">null</span>) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1352</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1352: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1352: statement not executed.">            Namespace answer = parent.getNamespaceForPrefix(prefix);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1353</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1354</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1354: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1354: statement not executed.">            <span class="keyword">if</span> (answer != <span class="keyword">null</span>) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1355</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1355: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1355: statement not executed.">                <span class="keyword">return</span> answer;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1356</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">            }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1357</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">        }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1358</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1359</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1359: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1359: statement not executed.">        <span class="keyword">if</span> ((prefix == <span class="keyword">null</span>) || (prefix.length() &lt;= 0)) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1360</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1360: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1360: statement not executed.">            <span class="keyword">return</span> Namespace.NO_NAMESPACE;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1361</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">        }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1362</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1363</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1363: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1363: statement not executed.">        <span class="keyword">return</span> <span class="keyword">null</span>;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1364</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1365</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1366</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1366: method not entered.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1366: method not entered.">    <span class="keyword">public</span> Namespace getNamespaceForURI(String uri) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1367</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1367: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1367: statement not executed.">        <span class="keyword">if</span> ((uri == <span class="keyword">null</span>) || (uri.length() &lt;= 0)) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1368</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1368: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1368: statement not executed.">            <span class="keyword">return</span> Namespace.NO_NAMESPACE;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1369</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1369: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1369: statement not executed.">        } <span class="keyword">else</span> <span class="keyword">if</span> (uri.equals(getNamespaceURI())) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1370</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1370: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1370: statement not executed.">            <span class="keyword">return</span> getNamespace();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1371</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">        } <span class="keyword">else</span> {</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1372</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1372: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1372: statement not executed.">            List list = contentList();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1373</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1374</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1374: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1374: statement not executed.">            <span class="keyword">int</span> size = list.size();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1375</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1376</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1376: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1376: statement not executed.">            <span class="keyword">for</span> (<span class="keyword">int</span> i = 0; i &lt; size; i++) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1377</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1377: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1377: statement not executed.">                Object object = list.get(i);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1378</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1379</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1379: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1379: statement not executed.">                <span class="keyword">if</span> (object <span class="keyword">instanceof</span> Namespace) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1380</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1380: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1380: statement not executed.">                    Namespace namespace = (Namespace) object;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1381</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1382</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1382: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1382: statement not executed.">                    <span class="keyword">if</span> (uri.equals(namespace.getURI())) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1383</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1383: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1383: statement not executed.">                        <span class="keyword">return</span> namespace;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1384</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">                    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1385</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">                }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1386</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">            }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1387</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1388</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1388: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1388: statement not executed.">            <span class="keyword">return</span> <span class="keyword">null</span>;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1389</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">        }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1390</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1391</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1392</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1392: method entered 1 time.">&nbsp;1</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1392: method entered 1 time.">    <span class="keyword">public</span> List getNamespacesForURI(String uri) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1393</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1393: statement executed 1 time.">&nbsp;1</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1393: statement executed 1 time.">        BackedList answer = createResultList();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1394</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1395</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">        <span class="comment">// if (getNamespaceURI().equals(uri)) {</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1396</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">        <span class="comment">//</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1397</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">        <span class="comment">// answer.addLocal(getNamespace());</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1398</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">        <span class="comment">//</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1399</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">        <span class="comment">// }</span></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1400</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1400: statement executed 1 time.">&nbsp;1</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1400: statement executed 1 time.">        List list = contentList();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1401</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1402</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1402: statement executed 1 time.">&nbsp;1</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1402: statement executed 1 time.">        <span class="keyword">int</span> size = list.size();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1403</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1404</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1404: statement executed 1 time.">&nbsp;1</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1404: statement executed 1 time.">        <span class="keyword">for</span> (<span class="keyword">int</span> i = 0; i &lt; size; i++) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1405</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1405: statement executed 4 times.">&nbsp;4</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1405: statement executed 4 times.">            Object object = list.get(i);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1406</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1407</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1407: statement executed 4 times.">&nbsp;4</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1407: statement executed 4 times.">            <span class="keyword">if</span> ((object <span class="keyword">instanceof</span> Namespace)</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1408</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">                    &amp;&amp; ((Namespace) object).getURI().equals(uri)) {</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1409</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1409: statement executed 2 times.">&nbsp;2</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1409: statement executed 2 times.">                answer.addLocal(object);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1410</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">            }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1411</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">        }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1412</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1413</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1413: statement executed 1 time.">&nbsp;1</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1413: statement executed 1 time.">        <span class="keyword">return</span> answer;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1414</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1415</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1416</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1416: method not entered.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1416: method not entered.">    <span class="keyword">public</span> List declaredNamespaces() {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1417</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1417: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1417: statement not executed.">        BackedList answer = createResultList();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1418</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1419</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">        <span class="comment">// if (getNamespaceURI().length() &gt; 0) {</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1420</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">        <span class="comment">//</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1421</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">        <span class="comment">// answer.addLocal(getNamespace());</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1422</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">        <span class="comment">//</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1423</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">        <span class="comment">// }</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1424</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">        <span class="comment">//</span></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1425</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1425: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1425: statement not executed.">        List list = contentList();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1426</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1427</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1427: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1427: statement not executed.">        <span class="keyword">int</span> size = list.size();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1428</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1429</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1429: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1429: statement not executed.">        <span class="keyword">for</span> (<span class="keyword">int</span> i = 0; i &lt; size; i++) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1430</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1430: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1430: statement not executed.">            Object object = list.get(i);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1431</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1432</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1432: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1432: statement not executed.">            <span class="keyword">if</span> (object <span class="keyword">instanceof</span> Namespace) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1433</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1433: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1433: statement not executed.">                answer.addLocal(object);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1434</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">            }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1435</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">        }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1436</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1437</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1437: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1437: statement not executed.">        <span class="keyword">return</span> answer;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1438</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1439</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1440</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1440: method not entered.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1440: method not entered.">    <span class="keyword">public</span> List additionalNamespaces() {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1441</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1441: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1441: statement not executed.">        List list = contentList();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1442</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1443</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1443: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1443: statement not executed.">        <span class="keyword">int</span> size = list.size();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1444</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1445</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1445: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1445: statement not executed.">        BackedList answer = createResultList();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1446</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1447</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1447: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1447: statement not executed.">        <span class="keyword">for</span> (<span class="keyword">int</span> i = 0; i &lt; size; i++) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1448</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1448: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1448: statement not executed.">            Object object = list.get(i);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1449</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1450</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1450: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1450: statement not executed.">            <span class="keyword">if</span> (object <span class="keyword">instanceof</span> Namespace) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1451</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1451: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1451: statement not executed.">                Namespace namespace = (Namespace) object;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1452</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1453</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1453: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1453: statement not executed.">                <span class="keyword">if</span> (!namespace.equals(getNamespace())) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1454</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1454: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1454: statement not executed.">                    answer.addLocal(namespace);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1455</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">                }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1456</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">            }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1457</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">        }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1458</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1459</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1459: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1459: statement not executed.">        <span class="keyword">return</span> answer;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1460</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1461</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1462</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1462: method not entered.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1462: method not entered.">    <span class="keyword">public</span> List additionalNamespaces(String defaultNamespaceURI) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1463</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1463: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1463: statement not executed.">        List list = contentList();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1464</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1465</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1465: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1465: statement not executed.">        BackedList answer = createResultList();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1466</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1467</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1467: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1467: statement not executed.">        <span class="keyword">int</span> size = list.size();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1468</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1469</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1469: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1469: statement not executed.">        <span class="keyword">for</span> (<span class="keyword">int</span> i = 0; i &lt; size; i++) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1470</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1470: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1470: statement not executed.">            Object object = list.get(i);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1471</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1472</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1472: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1472: statement not executed.">            <span class="keyword">if</span> (object <span class="keyword">instanceof</span> Namespace) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1473</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1473: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1473: statement not executed.">                Namespace namespace = (Namespace) object;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1474</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1475</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1475: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1475: statement not executed.">                <span class="keyword">if</span> (!defaultNamespaceURI.equals(namespace.getURI())) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1476</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1476: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1476: statement not executed.">                    answer.addLocal(namespace);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1477</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">                }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1478</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">            }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1479</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">        }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1480</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1481</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1481: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1481: statement not executed.">        <span class="keyword">return</span> answer;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1482</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1483</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1484</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    <span class="comment">// Implementation helper methods</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1485</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    <span class="comment">// -------------------------------------------------------------------------</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1486</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1487</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    <span class="comment">/**</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1488</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     * Ensures that the list of attributes has the given size</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1489</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     * </span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1490</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     * <span class="javadoc">@param</span> minCapacity</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1491</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     *            DOCUMENT ME!</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1492</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     */</span></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1493</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1493: method not entered.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1493: method not entered.">    <span class="keyword">public</span> <span class="keyword">void</span> ensureAttributesCapacity(<span class="keyword">int</span> minCapacity) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1494</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1494: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1494: statement not executed.">        <span class="keyword">if</span> (minCapacity &gt; 1) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1495</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1495: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1495: statement not executed.">            List list = attributeList();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1496</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1497</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1497: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1497: statement not executed.">            <span class="keyword">if</span> (list <span class="keyword">instanceof</span> ArrayList) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1498</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1498: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1498: statement not executed.">                ArrayList arrayList = (ArrayList) list;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1499</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1500</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1500: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1500: statement not executed.">                arrayList.ensureCapacity(minCapacity);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1501</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">            }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1502</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">        }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1503</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1504</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1505</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    <span class="comment">// Implementation methods</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1506</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    <span class="comment">// -------------------------------------------------------------------------</span></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1507</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1507: method not entered.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1507: method not entered.">    <span class="keyword">protected</span> Element createElement(String name) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1508</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1508: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1508: statement not executed.">        <span class="keyword">return</span> getDocumentFactory().createElement(name);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1509</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1510</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1511</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1511: method entered 4 times.">&nbsp;4</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1511: method entered 4 times.">    <span class="keyword">protected</span> Element createElement(QName qName) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1512</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1512: statement executed 4 times.">&nbsp;4</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1512: statement executed 4 times.">        <span class="keyword">return</span> getDocumentFactory().createElement(qName);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1513</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1514</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1515</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1515: method entered 95996 times.">&nbsp;95996</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1515: method entered 95996 times.">    <span class="keyword">protected</span> <span class="keyword">void</span> addNode(Node node) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1516</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1516: statement executed 95996 times.">&nbsp;95996</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1516: statement executed 95996 times.">        <span class="keyword">if</span> (node.getParent() != <span class="keyword">null</span>) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1517</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">            <span class="comment">// XXX: could clone here</span></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1518</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1518: statement executed 1 time.">&nbsp;1</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1518: statement executed 1 time.">            String message = <span class="string">"The Node already has an existing parent of \""</span></A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1519</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">                    + node.getParent().getQualifiedName() + <span class="string">"\""</span>;</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1520</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1521</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1521: statement executed 1 time.">&nbsp;1</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1521: statement executed 1 time.">            <span class="keyword">throw</span> <span class="keyword">new</span> IllegalAddException(<span class="keyword">this</span>, node, message);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1522</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">        }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1523</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1524</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1524: statement executed 95995 times.">&nbsp;95995</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1524: statement executed 95995 times.">        addNewNode(node);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1525</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1526</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1527</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1527: method entered 8 times.">&nbsp;8</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1527: method entered 8 times.">    <span class="keyword">protected</span> <span class="keyword">void</span> addNode(<span class="keyword">int</span> index, Node node) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1528</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1528: statement executed 8 times.">&nbsp;8</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1528: statement executed 8 times.">        <span class="keyword">if</span> (node.getParent() != <span class="keyword">null</span>) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1529</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">            <span class="comment">// XXX: could clone here</span></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1530</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1530: statement executed 1 time.">&nbsp;1</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1530: statement executed 1 time.">            String message = <span class="string">"The Node already has an existing parent of \""</span></A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1531</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">                    + node.getParent().getQualifiedName() + <span class="string">"\""</span>;</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1532</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1533</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1533: statement executed 1 time.">&nbsp;1</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1533: statement executed 1 time.">            <span class="keyword">throw</span> <span class="keyword">new</span> IllegalAddException(<span class="keyword">this</span>, node, message);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1534</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">        }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1535</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1536</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1536: statement executed 7 times.">&nbsp;7</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1536: statement executed 7 times.">        addNewNode(index, node);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1537</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1538</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1539</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    <span class="comment">/**</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1540</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     * Like addNode() but does not require a parent check</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1541</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     * </span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1542</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     * <span class="javadoc">@param</span> node</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1543</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     *            DOCUMENT ME!</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1544</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     */</span></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1545</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1545: method not entered.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1545: method not entered.">    <span class="keyword">protected</span> <span class="keyword">void</span> addNewNode(Node node) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1546</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1546: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1546: statement not executed.">        contentList().add(node);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1547</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1548</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1548: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1548: statement not executed.">        childAdded(node);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1549</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1550</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1551</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1551: method entered 7 times.">&nbsp;7</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1551: method entered 7 times.">    <span class="keyword">protected</span> <span class="keyword">void</span> addNewNode(<span class="keyword">int</span> index, Node node) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1552</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1552: statement executed 7 times.">&nbsp;7</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1552: statement executed 7 times.">        contentList().add(index, node);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1553</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1554</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1554: statement executed 7 times.">&nbsp;7</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1554: statement executed 7 times.">        childAdded(node);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1555</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1556</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1557</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1557: method not entered.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1557: method not entered.">    <span class="keyword">protected</span> <span class="keyword">boolean</span> removeNode(Node node) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1558</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1558: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1558: statement not executed.">        <span class="keyword">boolean</span> answer = contentList().remove(node);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1559</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1560</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1560: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1560: statement not executed.">        <span class="keyword">if</span> (answer) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1561</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1561: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1561: statement not executed.">            childRemoved(node);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1562</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">        }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1563</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1564</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1564: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1564: statement not executed.">        <span class="keyword">return</span> answer;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1565</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1566</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1567</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    <span class="comment">/**</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1568</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     * Called when a new child node is added to create any parent relationships</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1569</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     * </span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1570</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     * <span class="javadoc">@param</span> node</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1571</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     *            DOCUMENT ME!</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1572</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     */</span></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1573</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1573: method entered 234937 times.">&nbsp;234937</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1573: method entered 234937 times.">    <span class="keyword">protected</span> <span class="keyword">void</span> childAdded(Node node) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1574</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1574: expression evaluated to true 234937 times, false 0 times.">&nbsp;234937</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1574: expression evaluated to true 234937 times, false 0 times.">        <span class="keyword">if</span> (node != <span class="keyword">null</span>) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1575</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1575: statement executed 234937 times.">&nbsp;234937</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1575: statement executed 234937 times.">            node.setParent(<span class="keyword">this</span>);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1576</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">        }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1577</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1578</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1579</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1579: method entered 13560 times.">&nbsp;13560</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1579: method entered 13560 times.">    <span class="keyword">protected</span> <span class="keyword">void</span> childRemoved(Node node) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1580</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1580: expression evaluated to true 13560 times, false 0 times.">&nbsp;13560</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1580: expression evaluated to true 13560 times, false 0 times.">        <span class="keyword">if</span> (node != <span class="keyword">null</span>) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1581</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1581: statement executed 13560 times.">&nbsp;13560</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1581: statement executed 13560 times.">            node.setParent(<span class="keyword">null</span>);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1582</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1583</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1583: statement executed 13560 times.">&nbsp;13560</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1583: statement executed 13560 times.">            node.setDocument(<span class="keyword">null</span>);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1584</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">        }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1585</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1586</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1587</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    <span class="comment">/**</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1588</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     * DOCUMENT ME!</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1589</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     * </span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1590</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     * <span class="javadoc">@return</span> the internal List used to store attributes or creates one if one</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1591</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     *         is not available</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1592</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     */</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1593</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    <span class="keyword">protected</span> abstract List attributeList();</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1594</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1595</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    <span class="comment">/**</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1596</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     * DOCUMENT ME!</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1597</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     * </span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1598</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     * <span class="javadoc">@param</span> attributeCount</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1599</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     *            DOCUMENT ME!</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1600</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     * </span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1601</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     * <span class="javadoc">@return</span> the internal List used to store attributes or creates one with</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1602</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     *         the specified size if one is not available</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1603</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     */</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1604</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    <span class="keyword">protected</span> abstract List attributeList(<span class="keyword">int</span> attributeCount);</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1605</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1606</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1606: method entered 1 time.">&nbsp;1</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1606: method entered 1 time.">    <span class="keyword">protected</span> DocumentFactory getDocumentFactory() {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1607</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1607: statement executed 1 time.">&nbsp;1</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1607: statement executed 1 time.">        QName qName = getQName();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1608</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1609</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">        <span class="comment">// QName might be null as we might not have been constructed yet</span></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1610</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1610: expression evaluated to true 0 times, false 1 time.">&nbsp;1</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1610: expression evaluated to true 0 times, false 1 time.">        <span class="keyword">if</span> (qName != <span class="keyword">null</span>) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1611</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1611: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1611: statement not executed.">            DocumentFactory factory = qName.getDocumentFactory();</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1612</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1613</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1613: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1613: statement not executed.">            <span class="keyword">if</span> (factory != <span class="keyword">null</span>) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1614</TD>
<TD align="right" class="coverageCountHilight">
<A title="Line 1614: statement not executed.">&nbsp;0</A>
</TD><TD class="srcCell"><SPAN class="srcLineHilight"><A title="Line 1614: statement not executed.">                <span class="keyword">return</span> factory;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1615</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">            }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1616</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">        }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1617</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1618</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1618: statement executed 1 time.">&nbsp;1</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1618: statement executed 1 time.">        <span class="keyword">return</span> DOCUMENT_FACTORY;</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1619</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1620</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1621</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    <span class="comment">/**</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1622</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     * A Factory Method pattern which creates a List implementation used to</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1623</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     * store attributes</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1624</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     * </span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1625</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     * <span class="javadoc">@return</span> DOCUMENT ME!</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1626</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     */</span></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1627</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1627: method entered 28757 times.">&nbsp;28757</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1627: method entered 28757 times.">    <span class="keyword">protected</span> List createAttributeList() {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1628</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1628: statement executed 28757 times.">&nbsp;28757</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1628: statement executed 28757 times.">        <span class="keyword">return</span> createAttributeList(DEFAULT_CONTENT_LIST_SIZE);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1629</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1630</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1631</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    <span class="comment">/**</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1632</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     * A Factory Method pattern which creates a List implementation used to</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1633</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     * store attributes</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1634</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     * </span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1635</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     * <span class="javadoc">@param</span> size</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1636</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     *            DOCUMENT ME!</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1637</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     * </span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1638</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     * <span class="javadoc">@return</span> DOCUMENT ME!</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1639</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">     */</span></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1640</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1640: method entered 30375 times.">&nbsp;30375</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1640: method entered 30375 times.">    <span class="keyword">protected</span> List createAttributeList(<span class="keyword">int</span> size) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1641</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1641: statement executed 30375 times.">&nbsp;30375</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1641: statement executed 30375 times.">        <span class="keyword">return</span> <span class="keyword">new</span> ArrayList(size);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1642</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1643</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1644</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1644: method entered 62118 times.">&nbsp;62118</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1644: method entered 62118 times.">    <span class="keyword">protected</span> Iterator createSingleIterator(Object result) {</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCountHilight">
&nbsp;1645</TD>
<TD align="right" class="lineCountHilight">
<A title="Line 1645: statement executed 62118 times.">&nbsp;62118</A>
</TD><TD class="srcCell"><SPAN class="srcLine"><A title="Line 1645: statement executed 62118 times.">        <span class="keyword">return</span> <span class="keyword">new</span> SingleIterator(result);</A>
</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1646</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">    }</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1647</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine">}</SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1648</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1649</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment">/*</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1650</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment"> * Redistribution and use of this software and associated documentation</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1651</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment"> * ("Software"), with or without modification, are permitted provided that the</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1652</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment"> * following conditions are met:</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1653</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment"> * </span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1654</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment"> * 1. Redistributions of source code must retain copyright statements and</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1655</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment"> * notices. Redistributions must also contain a copy of this document.</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1656</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment"> * </span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1657</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment"> * 2. Redistributions in binary form must reproduce the above copyright notice,</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1658</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment"> * this list of conditions and the following disclaimer in the documentation</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1659</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment"> * and/or other materials provided with the distribution.</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1660</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment"> * </span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1661</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment"> * 3. The name "DOM4J" must not be used to endorse or promote products derived</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1662</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment"> * from this Software without prior written permission of MetaStuff, Ltd. For</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1663</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment"> * written permission, please contact dom4j-info@metastuff.com.</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1664</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment"> * </span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1665</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment"> * 4. Products derived from this Software may not be called "DOM4J" nor may</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1666</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment"> * "DOM4J" appear in their names without prior written permission of MetaStuff,</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1667</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment"> * Ltd. DOM4J is a registered trademark of MetaStuff, Ltd.</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1668</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment"> * </span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1669</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment"> * 5. Due credit should be given to the DOM4J Project - http://www.dom4j.org</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1670</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment"> * </span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1671</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment"> * THIS SOFTWARE IS PROVIDED BY METASTUFF, LTD. AND CONTRIBUTORS ``AS IS'' AND</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1672</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment"> * ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1673</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment"> * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1674</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment"> * ARE DISCLAIMED. IN NO EVENT SHALL METASTUFF, LTD. OR ITS CONTRIBUTORS BE</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1675</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment"> * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1676</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment"> * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1677</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment"> * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1678</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment"> * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1679</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment"> * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1680</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment"> * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1681</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment"> * POSSIBILITY OF SUCH DAMAGE.</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1682</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment"> * </span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1683</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment"> * Copyright 2001-2005 (C) MetaStuff, Ltd. All Rights Reserved.</span></SPAN></TD></TR><TR><TD align="right" class="lineCount">
&nbsp;1684</TD>
<TD align="right" class="coverageCount">
&nbsp;&nbsp;
</TD><TD class="srcCell"><SPAN class="srcLine"><span class="comment"> */</span></SPAN></TD></TR></TBODY></TABLE>
<TABLE width="100%"><TR><TD class="hbreak" colspan="6">&nbsp;</TD></TR>
<TR><TD class="footer" colspan="6">
<table>
<tr>
 <td><a target="_new" href="http://www.cenqua.com/clover"><img alt="Clover" src="../../../img/logo.gif" border="0"></a></td><td nowrap><i>Report generated by </i><a target="_new" href="http://www.cenqua.com/clover">Clover Code Coverage v1.3.5</a><i><BR>ma mei 16 2005 14:23:02 GMT+01:00</i>.</td>
<td>&nbsp;</td><td style="BORDER-LEFT: #9c9c9c 1px solid;">&nbsp;</td><td>Open Source License registered to the dom4j Project. This license of Clover is provided to support the development of dom4j only. </td>
</tr>
</table>
</td>
</tr></TABLE>
